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

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

Issue 2261383002: cc: Add a test for the elastic overscroll synchronization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: overflow fix. Created 4 years, 3 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
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/trees/layer_tree_host.h » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_TEST_HOOKS_H_ 5 #ifndef CC_TEST_TEST_HOOKS_H_
6 #define CC_TEST_TEST_HOOKS_H_ 6 #define CC_TEST_TEST_HOOKS_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "cc/animation/animation_delegate.h" 9 #include "cc/animation/animation_delegate.h"
10 #include "cc/trees/layer_tree_host.h" 10 #include "cc/trees/layer_tree_host.h"
(...skipping 23 matching lines...) Expand all
34 CommitEarlyOutReason reason) {} 34 CommitEarlyOutReason reason) {}
35 virtual void ReadyToCommitOnThread(LayerTreeHostImpl* host_impl) {} 35 virtual void ReadyToCommitOnThread(LayerTreeHostImpl* host_impl) {}
36 virtual void WillPrepareTilesOnThread(LayerTreeHostImpl* host_impl) {} 36 virtual void WillPrepareTilesOnThread(LayerTreeHostImpl* host_impl) {}
37 virtual void BeginCommitOnThread(LayerTreeHostImpl* host_impl) {} 37 virtual void BeginCommitOnThread(LayerTreeHostImpl* host_impl) {}
38 virtual void WillCommitCompleteOnThread(LayerTreeHostImpl* host_impl) {} 38 virtual void WillCommitCompleteOnThread(LayerTreeHostImpl* host_impl) {}
39 virtual void CommitCompleteOnThread(LayerTreeHostImpl* host_impl) {} 39 virtual void CommitCompleteOnThread(LayerTreeHostImpl* host_impl) {}
40 virtual void WillActivateTreeOnThread(LayerTreeHostImpl* host_impl) {} 40 virtual void WillActivateTreeOnThread(LayerTreeHostImpl* host_impl) {}
41 virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) {} 41 virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) {}
42 virtual void InitializedRendererOnThread(LayerTreeHostImpl* host_impl, 42 virtual void InitializedRendererOnThread(LayerTreeHostImpl* host_impl,
43 bool success) {} 43 bool success) {}
44 virtual void WillPrepareToDrawOnThread(LayerTreeHostImpl* host_impl) {}
44 virtual DrawResult PrepareToDrawOnThread( 45 virtual DrawResult PrepareToDrawOnThread(
45 LayerTreeHostImpl* host_impl, 46 LayerTreeHostImpl* host_impl,
46 LayerTreeHostImpl::FrameData* frame_data, 47 LayerTreeHostImpl::FrameData* frame_data,
47 DrawResult draw_result); 48 DrawResult draw_result);
48 virtual void DrawLayersOnThread(LayerTreeHostImpl* host_impl) {} 49 virtual void DrawLayersOnThread(LayerTreeHostImpl* host_impl) {}
49 virtual void NotifyReadyToActivateOnThread(LayerTreeHostImpl* host_impl) {} 50 virtual void NotifyReadyToActivateOnThread(LayerTreeHostImpl* host_impl) {}
50 virtual void NotifyReadyToDrawOnThread(LayerTreeHostImpl* host_impl) {} 51 virtual void NotifyReadyToDrawOnThread(LayerTreeHostImpl* host_impl) {}
51 virtual void NotifyAllTileTasksCompleted(LayerTreeHostImpl* host_impl) {} 52 virtual void NotifyAllTileTasksCompleted(LayerTreeHostImpl* host_impl) {}
52 virtual void NotifyTileStateChangedOnThread(LayerTreeHostImpl* host_impl, 53 virtual void NotifyTileStateChangedOnThread(LayerTreeHostImpl* host_impl,
53 const Tile* tile) {} 54 const Tile* tile) {}
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 const proto::CompositorMessageToImpl& proto) {} 119 const proto::CompositorMessageToImpl& proto) {}
119 120
120 // Used to notify the test to destroy the Remote client LayerTreeHost on 121 // Used to notify the test to destroy the Remote client LayerTreeHost on
121 // receiving a CompositorMessageToImpl of type CLOSE_IMPL. 122 // receiving a CompositorMessageToImpl of type CLOSE_IMPL.
122 virtual void DestroyRemoteClientHost() {} 123 virtual void DestroyRemoteClientHost() {}
123 }; 124 };
124 125
125 } // namespace cc 126 } // namespace cc
126 127
127 #endif // CC_TEST_TEST_HOOKS_H_ 128 #endif // CC_TEST_TEST_HOOKS_H_
OLDNEW
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698