Commit 298d39bd authored by kaustubh.ra@gmail.com's avatar kaustubh.ra@gmail.com

pageNumerForElementById is a test specific API and can be moved to window.internals

Review URL: https://chromiumcodereview.appspot.com/10800093

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148610 0039d316-1c4b-4281-b951-d872f2087c98
parent d52c54a8
......@@ -194,3 +194,4 @@ Rene Bolldorf <rb@radix.io>
Petar Jovanovic <petarj@mips.com>
Sergio Carlos Morales Angeles <carloschilazo@gmail.com>
Mihai Maerean <mmaerean@adobe.com>
Kaustubh Atrawalkar <kaustubh.ra@gmail.com>
......@@ -139,15 +139,6 @@ string16 DumpRenderer(WebFrame* web_frame) {
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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment