OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef WebSolidColorLayerImpl_h | 5 #ifndef WebSolidColorLayerImpl_h |
6 #define WebSolidColorLayerImpl_h | 6 #define WebSolidColorLayerImpl_h |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebColor.h" |
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebSolidColorLayer.
h" | 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebSolidColorLayer.
h" |
10 #include "webkit/compositor_bindings/webkit_compositor_bindings_export.h" | 11 #include "webkit/compositor_bindings/webkit_compositor_bindings_export.h" |
11 | 12 |
12 namespace WebKit { | 13 namespace WebKit { |
13 class WebLayerImpl; | 14 class WebLayerImpl; |
14 | 15 |
15 class WebSolidColorLayerImpl : public WebSolidColorLayer { | 16 class WebSolidColorLayerImpl : public WebSolidColorLayer { |
16 public: | 17 public: |
17 WEBKIT_COMPOSITOR_BINDINGS_EXPORT WebSolidColorLayerImpl(); | 18 WEBKIT_COMPOSITOR_BINDINGS_EXPORT WebSolidColorLayerImpl(); |
18 virtual ~WebSolidColorLayerImpl(); | 19 virtual ~WebSolidColorLayerImpl(); |
19 | 20 |
20 // WebSolidColorLayer implementation. | 21 // WebSolidColorLayer implementation. |
21 virtual WebLayer* layer() OVERRIDE; | 22 virtual WebLayer* layer(); |
22 virtual void setBackgroundColor(WebColor) OVERRIDE; | 23 virtual void setBackgroundColor(WebColor); |
23 | 24 |
24 private: | 25 private: |
25 scoped_ptr<WebLayerImpl> layer_; | 26 scoped_ptr<WebLayerImpl> layer_; |
26 }; | 27 }; |
27 | 28 |
28 } // namespace WebKit | 29 } // namespace WebKit |
29 | 30 |
30 #endif // WebSolidColorLayerImpl_h | 31 #endif // WebSolidColorLayerImpl_h |
31 | 32 |
OLD | NEW |