diff options
Diffstat (limited to 'Source/Platform/chromium/public/WebSolidColorLayer.h')
-rw-r--r-- | Source/Platform/chromium/public/WebSolidColorLayer.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/Source/Platform/chromium/public/WebSolidColorLayer.h b/Source/Platform/chromium/public/WebSolidColorLayer.h index 02e46f047..ad9123d96 100644 --- a/Source/Platform/chromium/public/WebSolidColorLayer.h +++ b/Source/Platform/chromium/public/WebSolidColorLayer.h @@ -26,20 +26,21 @@ #ifndef WebSolidColorLayer_h #define WebSolidColorLayer_h -#include "WebColor.h" #include "WebCommon.h" +#include "WebFloatRect.h" +#include "WebLayer.h" namespace WebKit { -class WebLayer; +class WebSolidColorLayerImpl; -class WebSolidColorLayer { +class WebSolidColorLayer : public WebLayer { public: - WEBKIT_EXPORT static WebSolidColorLayer* create(); + WEBKIT_EXPORT static WebSolidColorLayer create(); + WEBKIT_EXPORT void setBackgroundColor(const WebColor&); - virtual ~WebSolidColorLayer() { } - - virtual WebLayer* layer() = 0; - virtual void setBackgroundColor(WebColor) = 0; +#if WEBKIT_IMPLEMENTATION + WebSolidColorLayer(const WTF::PassRefPtr<WebSolidColorLayerImpl>&); +#endif }; } // namespace WebKit |