summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-12 08:46:12 +0000
committersail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-12 08:46:12 +0000
commit62190d269c9217cca0acd03b48df87d6b154553e (patch)
tree46e85afaca54dfe2f4e529157f21b6d9c59201f7
parentbbe30db7a9f2bfb1a64a56d06f50c81ca3518ecd (diff)
downloadchromium_src-62190d269c9217cca0acd03b48df87d6b154553e.zip
chromium_src-62190d269c9217cca0acd03b48df87d6b154553e.tar.gz
chromium_src-62190d269c9217cca0acd03b48df87d6b154553e.tar.bz2
This one is a test specific API and can be moved to window.internals.
Webkit Bug - https://bugs.webkit.org/show_bug.cgi?id=84406 (Sending this out for silverroots(kaustubh.ra@gmail.com) BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10546100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141631 0039d316-1c4b-4281-b951-d872f2087c98
-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,