diff options
Diffstat (limited to 'Source/WebKit2/UIProcess/qt/QtPageClient.cpp')
-rw-r--r-- | Source/WebKit2/UIProcess/qt/QtPageClient.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/WebKit2/UIProcess/qt/QtPageClient.cpp b/Source/WebKit2/UIProcess/qt/QtPageClient.cpp index 8e9ab2efd..82d63845d 100644 --- a/Source/WebKit2/UIProcess/qt/QtPageClient.cpp +++ b/Source/WebKit2/UIProcess/qt/QtPageClient.cpp @@ -26,6 +26,9 @@ #include "QtWebPageEventHandler.h" #include "QtWebUndoController.h" #include "ShareableBitmap.h" +#if ENABLE(INPUT_TYPE_COLOR) +#include "WebColorChooserProxyQt.h" +#endif #include "WebContextMenuProxyQt.h" #include "WebEditCommandProxy.h" #include "WebPopupMenuProxyQt.h" @@ -205,6 +208,13 @@ PassRefPtr<WebContextMenuProxy> QtPageClient::createContextMenuProxy(WebPageProx return WebContextMenuProxyQt::create(webPageProxy); } +#if ENABLE(INPUT_TYPE_COLOR) +PassRefPtr<WebColorChooserProxy> QtPageClient::createColorChooserProxy(WebPageProxy* webPageProxy, const WebCore::Color& initialColor) +{ + return WebColorChooserProxyQt::create(webPageProxy, m_webView, initialColor); +} +#endif + void QtPageClient::flashBackingStoreUpdates(const Vector<IntRect>&) { notImplemented(); |