| 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_CONTENT_LAYER_IMPL_H_ | 5 #ifndef CC_BLINK_WEB_CONTENT_LAYER_IMPL_H_ |
| 6 #define CC_BLINK_WEB_CONTENT_LAYER_IMPL_H_ | 6 #define CC_BLINK_WEB_CONTENT_LAYER_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 | 11 |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "cc/blink/cc_blink_export.h" | 13 #include "cc/blink/cc_blink_export.h" |
| 14 #include "cc/blink/web_layer_impl.h" | 14 #include "cc/blink/web_layer_impl.h" |
| 15 #include "cc/layers/content_layer_client.h" | 15 #include "cc/layers/content_layer_client.h" |
| 16 #include "third_party/WebKit/public/platform/WebContentLayer.h" | 16 #include "third_party/WebKit/public/platform/WebContentLayer.h" |
| 17 | 17 |
| 18 namespace cc { | |
| 19 class IntRect; | |
| 20 class FloatRect; | |
| 21 } | |
| 22 | |
| 23 namespace blink { | 18 namespace blink { |
| 24 class WebContentLayerClient; | 19 class WebContentLayerClient; |
| 25 } | 20 } |
| 26 | 21 |
| 27 namespace cc_blink { | 22 namespace cc_blink { |
| 28 | 23 |
| 29 class WebContentLayerImpl : public blink::WebContentLayer, | 24 class WebContentLayerImpl : public blink::WebContentLayer, |
| 30 public cc::ContentLayerClient { | 25 public cc::ContentLayerClient { |
| 31 public: | 26 public: |
| 32 CC_BLINK_EXPORT explicit WebContentLayerImpl(blink::WebContentLayerClient*); | 27 CC_BLINK_EXPORT explicit WebContentLayerImpl(blink::WebContentLayerClient*); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 47 std::unique_ptr<WebLayerImpl> layer_; | 42 std::unique_ptr<WebLayerImpl> layer_; |
| 48 blink::WebContentLayerClient* client_; | 43 blink::WebContentLayerClient* client_; |
| 49 | 44 |
| 50 private: | 45 private: |
| 51 DISALLOW_COPY_AND_ASSIGN(WebContentLayerImpl); | 46 DISALLOW_COPY_AND_ASSIGN(WebContentLayerImpl); |
| 52 }; | 47 }; |
| 53 | 48 |
| 54 } // namespace cc_blink | 49 } // namespace cc_blink |
| 55 | 50 |
| 56 #endif // CC_BLINK_WEB_CONTENT_LAYER_IMPL_H_ | 51 #endif // CC_BLINK_WEB_CONTENT_LAYER_IMPL_H_ |
| OLD | NEW |