summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
Diffstat (limited to 'webkit')
-rw-r--r--webkit/glue/webkit_glue.cc11
-rw-r--r--webkit/glue/webkit_glue.h6
2 files changed, 0 insertions, 17 deletions
diff --git a/webkit/glue/webkit_glue.cc b/webkit/glue/webkit_glue.cc
index 2477e23..57ecfc4 100644
--- a/webkit/glue/webkit_glue.cc
+++ b/webkit/glue/webkit_glue.cc
@@ -137,17 +137,6 @@ string16 DumpRenderer(WebFrame* web_frame) {
return web_frame->renderTreeAsText();
}
-bool CounterValueForElementById(WebFrame* web_frame, const std::string& id,
- string16* counter_value) {
- WebString result =
- web_frame->counterValueForElementById(WebString::fromUTF8(id));
- if (result.isNull())
- return false;
-
- *counter_value = result;
- return true;
-}
-
int PageNumberForElementById(WebFrame* web_frame,
const std::string& id,
float page_width_in_pixels,
diff --git a/webkit/glue/webkit_glue.h b/webkit/glue/webkit_glue.h
index 8e95952..30f5181 100644
--- a/webkit/glue/webkit_glue.h
+++ b/webkit/glue/webkit_glue.h
@@ -56,12 +56,6 @@ string16 DumpFramesAsText(WebKit::WebFrame* web_frame, bool recursive);
// Returns the renderer's description of its tree (its externalRepresentation).
WEBKIT_GLUE_EXPORT string16 DumpRenderer(WebKit::WebFrame* web_frame);
-// Fill the value of counter in the element specified by the id into
-// counter_value. Return false when the specified id doesn't exist.
-bool CounterValueForElementById(WebKit::WebFrame* web_frame,
- const std::string& id,
- string16* counter_value);
-
// Returns the number of page where the specified element will be put.
int PageNumberForElementById(WebKit::WebFrame* web_frame,
const std::string& id,