Added helper method to identify whether the page has custom page size style.
authortkent@chromium.org <tkent@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Dec 2011 22:07:11 +0000 (22:07 +0000)
committertkent@chromium.org <tkent@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Dec 2011 22:07:11 +0000 (22:07 +0000)
commit211e94cb4dd6189220cb3c15314b7f59a06af822
tree736ee0a10bd4c1f17b5dad31c8c4a10aae55a619
parent5c3653b62a6e6990553e956eae8518b04143d3fd
Added helper method to identify whether the page has custom page size style.
https://bugs.webkit.org/show_bug.cgi?id=73585

Patch by Kausalya Madhusudhanan <kmadhusu@chromium.org> on 2011-12-02
Reviewed by Darin Fisher.

Source/WebKit/chromium:

* public/WebFrame.h:
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::hasCustomPageSizeStyle):
* src/WebFrameImpl.h:

Tools:

* DumpRenderTree/chromium/LayoutTestController.cpp:
(LayoutTestController::LayoutTestController):
(LayoutTestController::hasCustomPageSizeStyle):
* DumpRenderTree/chromium/LayoutTestController.h:

LayoutTests:

* platform/chromium/printing/custom-page-size-style-expected.txt: Added.
* platform/chromium/printing/custom-page-size-style.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@101851 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/chromium/printing/custom-page-size-style-expected.txt [new file with mode: 0644]
LayoutTests/platform/chromium/printing/custom-page-size-style.html [new file with mode: 0644]
Source/WebKit/chromium/ChangeLog
Source/WebKit/chromium/public/WebFrame.h
Source/WebKit/chromium/src/WebFrameImpl.cpp
Source/WebKit/chromium/src/WebFrameImpl.h
Tools/ChangeLog
Tools/DumpRenderTree/chromium/LayoutTestController.cpp
Tools/DumpRenderTree/chromium/LayoutTestController.h