Replace Frame::print with Chrome::print and remove -[WebFrameBridge print]
WebCore:
Replace Frame::print with Chrome::print
This also adds a Frame* parameter to Chrome::print and
ChromeClient::print so that it knows which Frame to print.
Reviewed by Darin.
All tests pass.
* bindings/js/kjs_window.cpp:
(KJS::WindowFunc::callAsFunction): Call Chrome::print.
* editing/JSEditor.cpp: Ditto.
* bridge/win/FrameWin.cpp: Removed Frame::print.
* page/Frame.h: Ditto.
* page/mac/FrameMac.mm: Ditto.
* page/qt/FrameQt.cpp: Ditto.
* platform/gdk/FrameGdk.cpp: Ditto.
* page/mac/WebCoreFrameBridge.h: Removed -print.
* page/Chrome.cpp: Added Frame* parameter to Chrome::print and pass it
up to the ChromeClient.
* page/Chrome.h: Ditto.
* page/ChromeClient.h: Ditto.
* platform/gdk/TemporaryLinkStubs.cpp: Ditto.
* platform/graphics/svg/SVGImageEmptyClients.h: Ditto.
WebKit:
Move printing from WebFrameBridge to WebChromeClient
Reviewed by Darin.
* WebCoreSupport/WebChromeClient.h: Updated for ChromeClient changes.
* WebCoreSupport/WebChromeClient.mm:
(WebChromeClient::print): Moved code from WebFrameBridge.
* WebCoreSupport/WebFrameBridge.mm: Removed -print.
WebKit/win:
Updated WebChromeClient for ChromeClient changes.
Reviewed by Darin.
* WebChromeClient.cpp:
(WebChromeClient::print): Added a Frame* parameter.
* WebChromeClient.h: Ditto.
WebKitQt:
Updated ChromeClientQt for ChromeClient changes.
Reviewed by Darin.
* WebCoreSupport/ChromeClientQt.cpp:
(WebCore::ChromeClientQt::print): Added a Frame* parameter.
* WebCoreSupport/ChromeClientQt.h: Ditto.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24330 268f45cc-cd09-0410-ab3c-d52691b4dbfc
24 files changed