Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1509)

Unified Diff: webkit/glue/webkit_glue.cc

Issue 10546100: This one is a test specific API and can be moved to window.internals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/webkit_glue.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webkit_glue.cc
diff --git a/webkit/glue/webkit_glue.cc b/webkit/glue/webkit_glue.cc
index 2477e230942784d465b3a93494d3aeb78be216e8..57ecfc428fc7fe7b791d21e366fd0110d0305510 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,
« no previous file with comments | « webkit/glue/webkit_glue.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698