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 CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_ | 5 #ifndef CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_ |
6 #define CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_ | 6 #define CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
9 #include "cc/test/test_task_graph_runner.h" | 10 #include "cc/test/test_task_graph_runner.h" |
10 #include "cc/trees/layer_tree_host_client.h" | 11 #include "cc/trees/layer_tree_host_client.h" |
11 #include "cc/trees/layer_tree_host_single_thread_client.h" | 12 #include "cc/trees/layer_tree_host_single_thread_client.h" |
12 #include "third_party/WebKit/public/platform/WebLayerTreeView.h" | 13 #include "third_party/WebKit/public/platform/WebLayerTreeView.h" |
13 | 14 |
14 namespace cc { | 15 namespace cc { |
15 class LayerTreeHost; | 16 class LayerTreeHost; |
16 } | 17 } |
17 | 18 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 private: | 99 private: |
99 cc::TestTaskGraphRunner task_graph_runner_; | 100 cc::TestTaskGraphRunner task_graph_runner_; |
100 scoped_ptr<cc::LayerTreeHost> layer_tree_host_; | 101 scoped_ptr<cc::LayerTreeHost> layer_tree_host_; |
101 | 102 |
102 DISALLOW_COPY_AND_ASSIGN(WebLayerTreeViewImplForTesting); | 103 DISALLOW_COPY_AND_ASSIGN(WebLayerTreeViewImplForTesting); |
103 }; | 104 }; |
104 | 105 |
105 } // namespace content | 106 } // namespace content |
106 | 107 |
107 #endif // CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_ | 108 #endif // CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_ |
OLD | NEW |