| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CC_BLINK_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 5 #ifndef CC_BLINK_WEB_COMPOSITOR_SUPPORT_IMPL_H_ |
| 6 #define CC_BLINK_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 6 #define CC_BLINK_WEB_COMPOSITOR_SUPPORT_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "cc/blink/cc_blink_export.h" | 10 #include "cc/blink/cc_blink_export.h" |
| 11 #include "third_party/WebKit/public/platform/WebCompositorSupport.h" | 11 #include "third_party/WebKit/public/platform/WebCompositorSupport.h" |
| 12 #include "third_party/WebKit/public/platform/WebContentLayerClient.h" | 12 #include "third_party/WebKit/public/platform/WebContentLayerClient.h" |
| 13 #include "third_party/WebKit/public/platform/WebLayer.h" | 13 #include "third_party/WebKit/public/platform/WebLayer.h" |
| 14 | 14 |
| 15 namespace blink { | |
| 16 class WebGraphicsContext3D; | |
| 17 } | |
| 18 | |
| 19 namespace cc_blink { | 15 namespace cc_blink { |
| 20 | 16 |
| 21 class CC_BLINK_EXPORT WebCompositorSupportImpl | 17 class CC_BLINK_EXPORT WebCompositorSupportImpl |
| 22 : public NON_EXPORTED_BASE(blink::WebCompositorSupport) { | 18 : public NON_EXPORTED_BASE(blink::WebCompositorSupport) { |
| 23 public: | 19 public: |
| 24 WebCompositorSupportImpl(); | 20 WebCompositorSupportImpl(); |
| 25 ~WebCompositorSupportImpl() override; | 21 ~WebCompositorSupportImpl() override; |
| 26 | 22 |
| 27 blink::WebLayer* createLayer() override; | 23 blink::WebLayer* createLayer() override; |
| 28 blink::WebLayer* createLayerFromCCLayer(cc::Layer*) override; | 24 blink::WebLayer* createLayerFromCCLayer(cc::Layer*) override; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 41 int track_start, | 37 int track_start, |
| 42 bool is_left_side_vertical_scrollbar) override; | 38 bool is_left_side_vertical_scrollbar) override; |
| 43 | 39 |
| 44 private: | 40 private: |
| 45 DISALLOW_COPY_AND_ASSIGN(WebCompositorSupportImpl); | 41 DISALLOW_COPY_AND_ASSIGN(WebCompositorSupportImpl); |
| 46 }; | 42 }; |
| 47 | 43 |
| 48 } // namespace cc_blink | 44 } // namespace cc_blink |
| 49 | 45 |
| 50 #endif // CC_BLINK_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 46 #endif // CC_BLINK_WEB_COMPOSITOR_SUPPORT_IMPL_H_ |
| OLD | NEW |