| OLD | NEW |
| 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 Loading... |
| 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 BeginMainFrameNotExpectedUntil(base::TimeTicks time); |
| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 base::WeakPtrFactory<ProxyMain> frame_sink_bound_weak_factory_; | 135 base::WeakPtrFactory<ProxyMain> frame_sink_bound_weak_factory_; |
| 135 | 136 |
| 136 base::WeakPtrFactory<ProxyMain> weak_factory_; | 137 base::WeakPtrFactory<ProxyMain> weak_factory_; |
| 137 | 138 |
| 138 DISALLOW_COPY_AND_ASSIGN(ProxyMain); | 139 DISALLOW_COPY_AND_ASSIGN(ProxyMain); |
| 139 }; | 140 }; |
| 140 | 141 |
| 141 } // namespace cc | 142 } // namespace cc |
| 142 | 143 |
| 143 #endif // CC_TREES_PROXY_MAIN_H_ | 144 #endif // CC_TREES_PROXY_MAIN_H_ |
| OLD | NEW |