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

Side by Side Diff: cc/trees/proxy_main.h

Issue 2753843003: Create a new action triggered when a BeginMainFrame is not expected before vsync (Closed)
Patch Set: missed one Created 3 years, 9 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 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_TREES_PROXY_MAIN_H_ 5 #ifndef CC_TREES_PROXY_MAIN_H_
6 #define CC_TREES_PROXY_MAIN_H_ 6 #define CC_TREES_PROXY_MAIN_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "cc/cc_export.h" 9 #include "cc/cc_export.h"
10 #include "cc/input/browser_controls_state.h" 10 #include "cc/input/browser_controls_state.h"
(...skipping 24 matching lines...) Expand all
35 // we decide that no further processing is necessary. 35 // we decide that no further processing is necessary.
36 enum CommitPipelineStage { 36 enum CommitPipelineStage {
37 NO_PIPELINE_STAGE, 37 NO_PIPELINE_STAGE,
38 ANIMATE_PIPELINE_STAGE, 38 ANIMATE_PIPELINE_STAGE,
39 UPDATE_LAYERS_PIPELINE_STAGE, 39 UPDATE_LAYERS_PIPELINE_STAGE,
40 COMMIT_PIPELINE_STAGE, 40 COMMIT_PIPELINE_STAGE,
41 }; 41 };
42 42
43 void DidReceiveCompositorFrameAck(); 43 void DidReceiveCompositorFrameAck();
44 void BeginMainFrameNotExpectedSoon(); 44 void BeginMainFrameNotExpectedSoon();
45 void DoShortIdleWork(const BeginFrameArgs& args);
45 void DidCommitAndDrawFrame(); 46 void DidCommitAndDrawFrame();
46 void SetAnimationEvents(std::unique_ptr<MutatorEvents> events); 47 void SetAnimationEvents(std::unique_ptr<MutatorEvents> events);
47 void DidLoseCompositorFrameSink(); 48 void DidLoseCompositorFrameSink();
48 void RequestNewCompositorFrameSink(); 49 void RequestNewCompositorFrameSink();
49 void DidInitializeCompositorFrameSink(bool success); 50 void DidInitializeCompositorFrameSink(bool success);
50 void DidCompletePageScaleAnimation(); 51 void DidCompletePageScaleAnimation();
51 void BeginMainFrame( 52 void BeginMainFrame(
52 std::unique_ptr<BeginMainFrameAndCommitState> begin_main_frame_state); 53 std::unique_ptr<BeginMainFrameAndCommitState> begin_main_frame_state);
53 54
54 CommitPipelineStage max_requested_pipeline_stage() const { 55 CommitPipelineStage max_requested_pipeline_stage() const {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 std::unique_ptr<ProxyImpl> proxy_impl_; 131 std::unique_ptr<ProxyImpl> proxy_impl_;
131 132
132 base::WeakPtrFactory<ProxyMain> weak_factory_; 133 base::WeakPtrFactory<ProxyMain> weak_factory_;
133 134
134 DISALLOW_COPY_AND_ASSIGN(ProxyMain); 135 DISALLOW_COPY_AND_ASSIGN(ProxyMain);
135 }; 136 };
136 137
137 } // namespace cc 138 } // namespace cc
138 139
139 #endif // CC_TREES_PROXY_MAIN_H_ 140 #endif // CC_TREES_PROXY_MAIN_H_
OLDNEW
« cc/test/layer_tree_test.cc ('K') | « cc/trees/proxy_impl.cc ('k') | cc/trees/proxy_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698