OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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 WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_ | 5 #ifndef WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_ |
6 #define WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_ | 6 #define WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "third_party/WebKit/public/platform/WebAnimation.h" | 10 #include "third_party/WebKit/public/platform/WebAnimation.h" |
11 #include "third_party/WebKit/public/platform/WebColor.h" | 11 #include "third_party/WebKit/public/platform/WebColor.h" |
12 #include "third_party/WebKit/public/platform/WebCompositingReasons.h" | 12 #include "third_party/WebKit/public/platform/WebCompositingReasons.h" |
13 #include "third_party/WebKit/public/platform/WebFloatPoint.h" | 13 #include "third_party/WebKit/public/platform/WebFloatPoint.h" |
14 #include "third_party/WebKit/public/platform/WebLayer.h" | 14 #include "third_party/WebKit/public/platform/WebLayer.h" |
15 #include "third_party/WebKit/public/platform/WebPoint.h" | 15 #include "third_party/WebKit/public/platform/WebPoint.h" |
16 #include "third_party/WebKit/public/platform/WebRect.h" | 16 #include "third_party/WebKit/public/platform/WebRect.h" |
17 #include "third_party/WebKit/public/platform/WebSize.h" | 17 #include "third_party/WebKit/public/platform/WebSize.h" |
18 #include "third_party/WebKit/public/platform/WebString.h" | 18 #include "third_party/WebKit/public/platform/WebString.h" |
19 #include "third_party/WebKit/public/platform/WebVector.h" | 19 #include "third_party/WebKit/public/platform/WebVector.h" |
20 #include "third_party/skia/include/utils/SkMatrix44.h" | 20 #include "third_party/skia/include/utils/SkMatrix44.h" |
21 #include "webkit/renderer/compositor_bindings/webkit_compositor_bindings_export.
h" | 21 #include "webkit/renderer/compositor_bindings/webkit_compositor_bindings_export.
h" |
22 | 22 |
23 namespace cc { class Layer; } | 23 namespace cc { class Layer; } |
24 | 24 |
25 // TODO(senorblanco): Remove this once WebKit changes have landed. | 25 // TODO(senorblanco): Remove this once WebKit changes have landed. |
26 class SkImageFilter; | 26 class SkImageFilter; |
27 | 27 |
28 namespace WebKit { | 28 namespace WebKit { |
29 class WebAnimationDelegate; | |
30 class WebFilterOperations; | 29 class WebFilterOperations; |
31 class WebLayerScrollClient; | |
32 struct WebFloatRect; | 30 struct WebFloatRect; |
33 } | 31 } |
34 | 32 |
35 namespace webkit { | 33 namespace webkit { |
36 | 34 |
37 class WebToCCAnimationDelegateAdapter; | 35 class WebToCCAnimationDelegateAdapter; |
38 | 36 |
39 class WebLayerImpl : public WebKit::WebLayer { | 37 class WebLayerImpl : public WebKit::WebLayer { |
40 public: | 38 public: |
41 WEBKIT_COMPOSITOR_BINDINGS_EXPORT WebLayerImpl(); | 39 WEBKIT_COMPOSITOR_BINDINGS_EXPORT WebLayerImpl(); |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 | 123 |
126 private: | 124 private: |
127 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; | 125 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; |
128 | 126 |
129 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); | 127 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); |
130 }; | 128 }; |
131 | 129 |
132 } // namespace webkit | 130 } // namespace webkit |
133 | 131 |
134 #endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_ | 132 #endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_ |
OLD | NEW |