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

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

Issue 1897123002: Remove current implementation of frame timing events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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/trees/proxy_impl.cc ('k') | cc/trees/proxy_main.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 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/base/cc_export.h" 9 #include "cc/base/cc_export.h"
10 #include "cc/debug/frame_timing_tracker.h"
11 #include "cc/input/top_controls_state.h" 10 #include "cc/input/top_controls_state.h"
12 #include "cc/output/output_surface.h" 11 #include "cc/output/output_surface.h"
13 #include "cc/output/renderer_capabilities.h" 12 #include "cc/output/renderer_capabilities.h"
14 #include "cc/trees/channel_main.h" 13 #include "cc/trees/channel_main.h"
15 #include "cc/trees/proxy.h" 14 #include "cc/trees/proxy.h"
16 #include "cc/trees/proxy_common.h" 15 #include "cc/trees/proxy_common.h"
17 #include "cc/trees/remote_proto_channel.h" 16 #include "cc/trees/remote_proto_channel.h"
18 17
19 namespace cc { 18 namespace cc {
20 19
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 const RendererCapabilities& capabilities); 54 const RendererCapabilities& capabilities);
56 virtual void BeginMainFrameNotExpectedSoon(); 55 virtual void BeginMainFrameNotExpectedSoon();
57 virtual void DidCommitAndDrawFrame(); 56 virtual void DidCommitAndDrawFrame();
58 virtual void SetAnimationEvents(std::unique_ptr<AnimationEvents> events); 57 virtual void SetAnimationEvents(std::unique_ptr<AnimationEvents> events);
59 virtual void DidLoseOutputSurface(); 58 virtual void DidLoseOutputSurface();
60 virtual void RequestNewOutputSurface(); 59 virtual void RequestNewOutputSurface();
61 virtual void DidInitializeOutputSurface( 60 virtual void DidInitializeOutputSurface(
62 bool success, 61 bool success,
63 const RendererCapabilities& capabilities); 62 const RendererCapabilities& capabilities);
64 virtual void DidCompletePageScaleAnimation(); 63 virtual void DidCompletePageScaleAnimation();
65 virtual void PostFrameTimingEventsOnMain(
66 std::unique_ptr<FrameTimingTracker::CompositeTimingSet> composite_events,
67 std::unique_ptr<FrameTimingTracker::MainFrameTimingSet>
68 main_frame_events);
69 virtual void BeginMainFrame( 64 virtual void BeginMainFrame(
70 std::unique_ptr<BeginMainFrameAndCommitState> begin_main_frame_state); 65 std::unique_ptr<BeginMainFrameAndCommitState> begin_main_frame_state);
71 66
72 ChannelMain* channel_main() const { return channel_main_.get(); } 67 ChannelMain* channel_main() const { return channel_main_.get(); }
73 CommitPipelineStage max_requested_pipeline_stage() const { 68 CommitPipelineStage max_requested_pipeline_stage() const {
74 return max_requested_pipeline_stage_; 69 return max_requested_pipeline_stage_;
75 } 70 }
76 CommitPipelineStage current_pipeline_stage() const { 71 CommitPipelineStage current_pipeline_stage() const {
77 return current_pipeline_stage_; 72 return current_pipeline_stage_;
78 } 73 }
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 RendererCapabilities renderer_capabilities_; 147 RendererCapabilities renderer_capabilities_;
153 148
154 std::unique_ptr<ChannelMain> channel_main_; 149 std::unique_ptr<ChannelMain> channel_main_;
155 150
156 DISALLOW_COPY_AND_ASSIGN(ProxyMain); 151 DISALLOW_COPY_AND_ASSIGN(ProxyMain);
157 }; 152 };
158 153
159 } // namespace cc 154 } // namespace cc
160 155
161 #endif // CC_TREES_PROXY_MAIN_H_ 156 #endif // CC_TREES_PROXY_MAIN_H_
OLDNEW
« no previous file with comments | « 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