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

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

Issue 1841083007: Remove SendBeginFramesToChildren plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scheduler_output_surface_client_set_beginframesource
Patch Set: Rebase Created 4 years, 8 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 virtual void DidActivateSyncTree() {} 83 virtual void DidActivateSyncTree() {}
84 84
85 // Hooks for SchedulerClient. 85 // Hooks for SchedulerClient.
86 virtual void ScheduledActionWillSendBeginMainFrame() {} 86 virtual void ScheduledActionWillSendBeginMainFrame() {}
87 virtual void ScheduledActionSendBeginMainFrame() {} 87 virtual void ScheduledActionSendBeginMainFrame() {}
88 virtual void ScheduledActionDrawAndSwapIfPossible() {} 88 virtual void ScheduledActionDrawAndSwapIfPossible() {}
89 virtual void ScheduledActionCommit() {} 89 virtual void ScheduledActionCommit() {}
90 virtual void ScheduledActionBeginOutputSurfaceCreation() {} 90 virtual void ScheduledActionBeginOutputSurfaceCreation() {}
91 virtual void ScheduledActionPrepareTiles() {} 91 virtual void ScheduledActionPrepareTiles() {}
92 virtual void ScheduledActionInvalidateOutputSurface() {} 92 virtual void ScheduledActionInvalidateOutputSurface() {}
93 virtual void SendBeginFramesToChildren(const BeginFrameArgs& args) {}
94 virtual void SendBeginMainFrameNotExpectedSoon() {} 93 virtual void SendBeginMainFrameNotExpectedSoon() {}
95 94
96 // Hooks for ProxyImpl 95 // Hooks for ProxyImpl
97 virtual void UpdateTopControlsStateOnImpl(TopControlsState constraints, 96 virtual void UpdateTopControlsStateOnImpl(TopControlsState constraints,
98 TopControlsState current, 97 TopControlsState current,
99 bool animate) {} 98 bool animate) {}
100 virtual void InitializeOutputSurfaceOnImpl(OutputSurface* output_surface) {} 99 virtual void InitializeOutputSurfaceOnImpl(OutputSurface* output_surface) {}
101 virtual void MainThreadHasStoppedFlingingOnImpl() {} 100 virtual void MainThreadHasStoppedFlingingOnImpl() {}
102 virtual void SetInputThrottledUntilCommitOnImpl(bool is_throttled) {} 101 virtual void SetInputThrottledUntilCommitOnImpl(bool is_throttled) {}
103 virtual void SetDeferCommitsOnImpl(bool defer_commits) {} 102 virtual void SetDeferCommitsOnImpl(bool defer_commits) {}
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 const proto::CompositorMessageToImpl& proto) {} 149 const proto::CompositorMessageToImpl& proto) {}
151 150
152 // Used to notify the test to destroy the Remote client LayerTreeHost on 151 // Used to notify the test to destroy the Remote client LayerTreeHost on
153 // receiving a CompositorMessageToImpl of type CLOSE_IMPL. 152 // receiving a CompositorMessageToImpl of type CLOSE_IMPL.
154 virtual void DestroyRemoteClientHost() {} 153 virtual void DestroyRemoteClientHost() {}
155 }; 154 };
156 155
157 } // namespace cc 156 } // namespace cc
158 157
159 #endif // CC_TEST_TEST_HOOKS_H_ 158 #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