| 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 CC_TEST_LAYER_TREE_TEST_H_ | 5 #ifndef CC_TEST_LAYER_TREE_TEST_H_ |
| 6 #define CC_TEST_LAYER_TREE_TEST_H_ | 6 #define CC_TEST_LAYER_TREE_TEST_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "base/threading/thread.h" | 9 #include "base/threading/thread.h" |
| 10 #include "cc/animation/animation_delegate.h" | 10 #include "cc/animation/animation_delegate.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 class LayerTreeHost; | 24 class LayerTreeHost; |
| 25 class LayerTreeHostForTesting; | 25 class LayerTreeHostForTesting; |
| 26 class LayerTreeHostClient; | 26 class LayerTreeHostClient; |
| 27 class LayerTreeHostImpl; | 27 class LayerTreeHostImpl; |
| 28 class LayerTreeTestCompositorFrameSinkClient; | 28 class LayerTreeTestCompositorFrameSinkClient; |
| 29 class Proxy; | 29 class Proxy; |
| 30 class ProxyImpl; | 30 class ProxyImpl; |
| 31 class ProxyMain; | 31 class ProxyMain; |
| 32 class TestContextProvider; | 32 class TestContextProvider; |
| 33 class TestCompositorFrameSink; | 33 class TestCompositorFrameSink; |
| 34 class TestGpuMemoryBufferManager; | |
| 35 class TestTaskGraphRunner; | 34 class TestTaskGraphRunner; |
| 36 class TestWebGraphicsContext3D; | 35 class TestWebGraphicsContext3D; |
| 37 | 36 |
| 38 // Creates the virtual viewport layer hierarchy under the given root_layer. | 37 // Creates the virtual viewport layer hierarchy under the given root_layer. |
| 39 // Convenient overload of the method below that creates a scrolling layer as | 38 // Convenient overload of the method below that creates a scrolling layer as |
| 40 // the outer viewport scroll layer. | 39 // the outer viewport scroll layer. |
| 41 void CreateVirtualViewportLayers(Layer* root_layer, | 40 void CreateVirtualViewportLayers(Layer* root_layer, |
| 42 const gfx::Size& inner_bounds, | 41 const gfx::Size& inner_bounds, |
| 43 const gfx::Size& outer_bounds, | 42 const gfx::Size& outer_bounds, |
| 44 const gfx::Size& scroll_bounds, | 43 const gfx::Size& scroll_bounds, |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 #define SINGLE_MULTI_AND_REMOTE_TEST_F(TEST_FIXTURE_NAME) \ | 235 #define SINGLE_MULTI_AND_REMOTE_TEST_F(TEST_FIXTURE_NAME) \ |
| 237 SINGLE_AND_MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME); \ | 236 SINGLE_AND_MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME); \ |
| 238 REMOTE_TEST_F(TEST_FIXTURE_NAME) | 237 REMOTE_TEST_F(TEST_FIXTURE_NAME) |
| 239 | 238 |
| 240 // Some tests want to control when notify ready for activation occurs, | 239 // Some tests want to control when notify ready for activation occurs, |
| 241 // but this is not supported in the single-threaded case. | 240 // but this is not supported in the single-threaded case. |
| 242 #define MULTI_THREAD_BLOCKNOTIFY_TEST_F(TEST_FIXTURE_NAME) \ | 241 #define MULTI_THREAD_BLOCKNOTIFY_TEST_F(TEST_FIXTURE_NAME) \ |
| 243 MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME) | 242 MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME) |
| 244 | 243 |
| 245 #endif // CC_TEST_LAYER_TREE_TEST_H_ | 244 #endif // CC_TEST_LAYER_TREE_TEST_H_ |
| OLD | NEW |