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

Side by Side Diff: content/renderer/gpu/render_widget_compositor.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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 5 #ifndef CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 float page_scale, 165 float page_scale,
166 float top_controls_delta) override; 166 float top_controls_delta) override;
167 void RequestNewOutputSurface() override; 167 void RequestNewOutputSurface() override;
168 void DidInitializeOutputSurface() override; 168 void DidInitializeOutputSurface() override;
169 void DidFailToInitializeOutputSurface() override; 169 void DidFailToInitializeOutputSurface() override;
170 void WillCommit() override; 170 void WillCommit() override;
171 void DidCommit() override; 171 void DidCommit() override;
172 void DidCommitAndDrawFrame() override; 172 void DidCommitAndDrawFrame() override;
173 void DidCompleteSwapBuffers() override; 173 void DidCompleteSwapBuffers() override;
174 void DidCompletePageScaleAnimation() override; 174 void DidCompletePageScaleAnimation() override;
175 void RecordFrameTimingEvents(
176 std::unique_ptr<cc::FrameTimingTracker::CompositeTimingSet>
177 composite_events,
178 std::unique_ptr<cc::FrameTimingTracker::MainFrameTimingSet>
179 main_frame_events) override;
180 175
181 // cc::LayerTreeHostSingleThreadClient implementation. 176 // cc::LayerTreeHostSingleThreadClient implementation.
182 void RequestScheduleAnimation() override; 177 void RequestScheduleAnimation() override;
183 void DidPostSwapBuffers() override; 178 void DidPostSwapBuffers() override;
184 void DidAbortSwapBuffers() override; 179 void DidAbortSwapBuffers() override;
185 180
186 // cc::RemoteProtoChannel implementation. 181 // cc::RemoteProtoChannel implementation.
187 void SetProtoReceiver(ProtoReceiver* receiver) override; 182 void SetProtoReceiver(ProtoReceiver* receiver) override;
188 void SendCompositorProto(const cc::proto::CompositorMessage& proto) override; 183 void SendCompositorProto(const cc::proto::CompositorMessage& proto) override;
189 184
(...skipping 27 matching lines...) Expand all
217 std::unique_ptr<cc::CopyOutputRequest> temporary_copy_output_request_; 212 std::unique_ptr<cc::CopyOutputRequest> temporary_copy_output_request_;
218 213
219 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_; 214 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_;
220 215
221 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; 216 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_;
222 }; 217 };
223 218
224 } // namespace content 219 } // namespace content
225 220
226 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 221 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/compositor_impl_android.h ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698