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

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

Issue 10690168: Aura: Resize locks with --ui-enable-threaded-compositing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: OSX compile fix. Created 8 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « cc/single_thread_proxy.cc ('k') | cc/test/layer_tree_test_common.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_COMMON_H_ 5 #ifndef CC_TEST_LAYER_TREE_TEST_COMMON_H_
6 #define CC_TEST_LAYER_TREE_TEST_COMMON_H_ 6 #define CC_TEST_LAYER_TREE_TEST_COMMON_H_
7 7
8 #include "cc/layer_tree_host.h" 8 #include "cc/layer_tree_host.h"
9 #include "base/hash_tables.h" 9 #include "base/hash_tables.h"
10 #include "cc/layer_tree_host_impl.h" 10 #include "cc/layer_tree_host_impl.h"
(...skipping 22 matching lines...) Expand all
33 virtual void animateLayers(cc::LayerTreeHostImpl*, double monotonicTime) { } 33 virtual void animateLayers(cc::LayerTreeHostImpl*, double monotonicTime) { }
34 virtual void willAnimateLayers(cc::LayerTreeHostImpl*, double monotonicTime) { } 34 virtual void willAnimateLayers(cc::LayerTreeHostImpl*, double monotonicTime) { }
35 virtual void applyScrollAndScale(const cc::IntSize&, float) { } 35 virtual void applyScrollAndScale(const cc::IntSize&, float) { }
36 virtual void animate(double monotonicTime) { } 36 virtual void animate(double monotonicTime) { }
37 virtual void layout() { } 37 virtual void layout() { }
38 virtual void didRecreateOutputSurface(bool succeeded) { } 38 virtual void didRecreateOutputSurface(bool succeeded) { }
39 virtual void didAddAnimation() { } 39 virtual void didAddAnimation() { }
40 virtual void didCommit() { } 40 virtual void didCommit() { }
41 virtual void didCommitAndDrawFrame() { } 41 virtual void didCommitAndDrawFrame() { }
42 virtual void scheduleComposite() { } 42 virtual void scheduleComposite() { }
43 virtual void didDeferCommit() { }
43 44
44 // Implementation of WebAnimationDelegate 45 // Implementation of WebAnimationDelegate
45 virtual void notifyAnimationStarted(double time) OVERRIDE { } 46 virtual void notifyAnimationStarted(double time) OVERRIDE { }
46 virtual void notifyAnimationFinished(double time) OVERRIDE { } 47 virtual void notifyAnimationFinished(double time) OVERRIDE { }
47 48
48 virtual scoped_ptr<WebKit::WebCompositorOutputSurface> createOutputSurface() ; 49 virtual scoped_ptr<WebKit::WebCompositorOutputSurface> createOutputSurface() ;
49 }; 50 };
50 51
51 class TimeoutTask; 52 class TimeoutTask;
52 class BeginTask; 53 class BeginTask;
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 TEST_F(TEST_FIXTURE_NAME, runSingleThread) \ 199 TEST_F(TEST_FIXTURE_NAME, runSingleThread) \
199 { \ 200 { \
200 runTest(false); \ 201 runTest(false); \
201 } \ 202 } \
202 TEST_F(TEST_FIXTURE_NAME, runMultiThread) \ 203 TEST_F(TEST_FIXTURE_NAME, runMultiThread) \
203 { \ 204 { \
204 runTest(true); \ 205 runTest(true); \
205 } 206 }
206 207
207 #endif // CC_TEST_LAYER_TREE_TEST_COMMON_H_ 208 #endif // CC_TEST_LAYER_TREE_TEST_COMMON_H_
OLDNEW
« no previous file with comments | « cc/single_thread_proxy.cc ('k') | cc/test/layer_tree_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698