OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 WebLayerTreeViewImplForTesting_h | 5 #ifndef WebLayerTreeViewImplForTesting_h |
6 #define WebLayerTreeViewImplForTesting_h | 6 #define WebLayerTreeViewImplForTesting_h |
7 | 7 |
8 #include "cc/test/test_task_graph_runner.h" | 8 #include "cc/test/test_task_graph_runner.h" |
9 #include "cc/trees/layer_tree_host_client.h" | 9 #include "cc/trees/layer_tree_host_client.h" |
10 #include "cc/trees/layer_tree_host_single_thread_client.h" | 10 #include "cc/trees/layer_tree_host_single_thread_client.h" |
11 #include "public/platform/WebLayerTreeView.h" | 11 #include "public/platform/WebLayerTreeView.h" |
| 12 #include "wtf/PassOwnPtr.h" |
| 13 |
12 #include <memory> | 14 #include <memory> |
13 | 15 |
14 namespace cc { | 16 namespace cc { |
15 class LayerTreeHost; | 17 class LayerTreeHost; |
16 class LayerTreeSettings; | 18 class LayerTreeSettings; |
17 } | 19 } |
18 | 20 |
19 namespace blink { | 21 namespace blink { |
20 | 22 |
21 class WebCompositorAnimationTimeline; | 23 class WebCompositorAnimationTimeline; |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 void DidAbortSwapBuffers() override {} | 102 void DidAbortSwapBuffers() override {} |
101 | 103 |
102 private: | 104 private: |
103 cc::TestTaskGraphRunner m_taskGraphRunner; | 105 cc::TestTaskGraphRunner m_taskGraphRunner; |
104 std::unique_ptr<cc::LayerTreeHost> m_layerTreeHost; | 106 std::unique_ptr<cc::LayerTreeHost> m_layerTreeHost; |
105 }; | 107 }; |
106 | 108 |
107 } // namespace blink | 109 } // namespace blink |
108 | 110 |
109 #endif // WebLayerTreeViewImplForTesting_h | 111 #endif // WebLayerTreeViewImplForTesting_h |
OLD | NEW |