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

Unified Diff: webkit/glue/webkit_glue.cc

Issue 10800093: pageNumerForElementById is a test specific API and can be moved to window.internals (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: pageNumerForElementById is a test specific API and can be moved to window.internals Created 8 years, 5 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 | « AUTHORS ('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
===================================================================
--- webkit/glue/webkit_glue.cc (revision 148301)
+++ webkit/glue/webkit_glue.cc (working copy)
@@ -139,15 +139,6 @@
return web_frame->renderTreeAsText();
}
-int PageNumberForElementById(WebFrame* web_frame,
- const std::string& id,
- float page_width_in_pixels,
- float page_height_in_pixels) {
- return web_frame->pageNumberForElementById(WebString::fromUTF8(id),
- page_width_in_pixels,
- page_height_in_pixels);
-}
-
int NumberOfPages(WebFrame* web_frame,
float page_width_in_pixels,
float page_height_in_pixels) {
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698