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" |
11 #include "cc/trees/layer_tree_host.h" | 11 #include "cc/trees/layer_tree_host.h" |
12 #include "cc/trees/layer_tree_host_impl.h" | 12 #include "cc/trees/layer_tree_host_impl.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
14 | 14 |
15 namespace Webkit { | |
16 class WebGraphicsContext3D; | |
17 } | |
18 | |
19 namespace cc { | 15 namespace cc { |
20 class FakeExternalBeginFrameSource; | 16 class FakeExternalBeginFrameSource; |
21 class FakeLayerTreeHostClient; | 17 class FakeLayerTreeHostClient; |
22 class FakeOutputSurface; | 18 class FakeOutputSurface; |
23 class LayerImpl; | 19 class LayerImpl; |
24 class LayerTreeHost; | 20 class LayerTreeHost; |
25 class LayerTreeHostClient; | 21 class LayerTreeHostClient; |
26 class LayerTreeHostImpl; | 22 class LayerTreeHostImpl; |
27 class TestContextProvider; | 23 class TestContextProvider; |
28 class TestWebGraphicsContext3D; | 24 class TestWebGraphicsContext3D; |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 SINGLE_AND_MULTI_THREAD_DIRECT_RENDERER_TEST_F(TEST_FIXTURE_NAME); \ | 370 SINGLE_AND_MULTI_THREAD_DIRECT_RENDERER_TEST_F(TEST_FIXTURE_NAME); \ |
375 SINGLE_AND_MULTI_THREAD_DELEGATING_RENDERER_TEST_F(TEST_FIXTURE_NAME) | 371 SINGLE_AND_MULTI_THREAD_DELEGATING_RENDERER_TEST_F(TEST_FIXTURE_NAME) |
376 | 372 |
377 // Some tests want to control when notify ready for activation occurs, | 373 // Some tests want to control when notify ready for activation occurs, |
378 // but this is not supported in the single-threaded case. | 374 // but this is not supported in the single-threaded case. |
379 #define SINGLE_AND_MULTI_THREAD_BLOCKNOTIFY_TEST_F(TEST_FIXTURE_NAME) \ | 375 #define SINGLE_AND_MULTI_THREAD_BLOCKNOTIFY_TEST_F(TEST_FIXTURE_NAME) \ |
380 SINGLE_THREAD_NOIMPL_TEST_F(TEST_FIXTURE_NAME); \ | 376 SINGLE_THREAD_NOIMPL_TEST_F(TEST_FIXTURE_NAME); \ |
381 MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME) | 377 MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME) |
382 | 378 |
383 #endif // CC_TEST_LAYER_TREE_TEST_H_ | 379 #endif // CC_TEST_LAYER_TREE_TEST_H_ |
OLD | NEW |