Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(229)

Side by Side Diff: cc/test/layer_tree_test.h

Issue 2404953002: cc/blimp: Set up hooks for scroll/scale sync. (Closed)
Patch Set: braces Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 #define REMOTE_TEST_F(TEST_FIXTURE_NAME) \ 222 #define REMOTE_TEST_F(TEST_FIXTURE_NAME) \
223 TEST_F(TEST_FIXTURE_NAME, RunRemote_DelegatingRenderer) { \ 223 TEST_F(TEST_FIXTURE_NAME, RunRemote_DelegatingRenderer) { \
224 RunTest(CompositorMode::REMOTE); \ 224 RunTest(CompositorMode::REMOTE); \
225 } \ 225 } \
226 class RemoteDelegatingImplNeedsSemicolon##TEST_FIXTURE_NAME {} 226 class RemoteDelegatingImplNeedsSemicolon##TEST_FIXTURE_NAME {}
227 227
228 #define SINGLE_AND_MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME) \ 228 #define SINGLE_AND_MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME) \
229 SINGLE_THREAD_TEST_F(TEST_FIXTURE_NAME); \ 229 SINGLE_THREAD_TEST_F(TEST_FIXTURE_NAME); \
230 MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME) 230 MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME)
231 231
232 #define REMOTE_AND_MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME) \
233 MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME); \
234 REMOTE_TEST_F(TEST_FIXTURE_NAME)
235
232 #define SINGLE_MULTI_AND_REMOTE_TEST_F(TEST_FIXTURE_NAME) \ 236 #define SINGLE_MULTI_AND_REMOTE_TEST_F(TEST_FIXTURE_NAME) \
233 SINGLE_AND_MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME); \ 237 SINGLE_AND_MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME); \
234 REMOTE_TEST_F(TEST_FIXTURE_NAME) 238 REMOTE_TEST_F(TEST_FIXTURE_NAME)
235 239
236 // Some tests want to control when notify ready for activation occurs, 240 // Some tests want to control when notify ready for activation occurs,
237 // but this is not supported in the single-threaded case. 241 // but this is not supported in the single-threaded case.
238 #define MULTI_THREAD_BLOCKNOTIFY_TEST_F(TEST_FIXTURE_NAME) \ 242 #define MULTI_THREAD_BLOCKNOTIFY_TEST_F(TEST_FIXTURE_NAME) \
239 MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME) 243 MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME)
240 244
241 #endif // CC_TEST_LAYER_TREE_TEST_H_ 245 #endif // CC_TEST_LAYER_TREE_TEST_H_
OLDNEW
« no previous file with comments | « cc/test/layer_tree_host_remote_for_testing.cc ('k') | cc/trees/layer_tree_host_unittest_scroll.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698