diff options
author | hamaji@chromium.org <hamaji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-17 07:07:08 +0000 |
---|---|---|
committer | hamaji@chromium.org <hamaji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-17 07:07:08 +0000 |
commit | 3e52d7d6df02b80809826c8a68b897d337ec8f94 (patch) | |
tree | aeadfc9c0ed25885d74fbee47a4f5a3ca240e33a /webkit/glue/webkit_glue.h | |
parent | ed61511cb7e188b22e82648f1c166fe7904a4262 (diff) | |
download | chromium_src-3e52d7d6df02b80809826c8a68b897d337ec8f94.zip chromium_src-3e52d7d6df02b80809826c8a68b897d337ec8f94.tar.gz chromium_src-3e52d7d6df02b80809826c8a68b897d337ec8f94.tar.bz2 |
Implement layoutTestController.numberOfPages.
BUG=35215
TEST=layout tests
Review URL: http://codereview.chromium.org/594054
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39199 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webkit_glue.h')
-rw-r--r-- | webkit/glue/webkit_glue.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/webkit/glue/webkit_glue.h b/webkit/glue/webkit_glue.h index 2ab408a..afdceda 100644 --- a/webkit/glue/webkit_glue.h +++ b/webkit/glue/webkit_glue.h @@ -70,6 +70,11 @@ int PageNumberForElementById(WebKit::WebFrame* web_frame, float page_width_in_pixels, float page_height_in_pixels); +// Returns the number of pages to be printed. +int NumberOfPages(WebKit::WebFrame* web_frame, + float page_width_in_pixels, + float page_height_in_pixels); + // Returns a dump of the scroll position of the webframe. std::wstring DumpFrameScrollPosition(WebKit::WebFrame* web_frame, bool recursive); |