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

Side by Side Diff: content/renderer/gpu/render_widget_compositor.h

Issue 1946403003: Add fixed raster scale use counter histograms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase+fix Created 4 years, 7 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 ReportFixedRasterScaleUseCounters(
176 bool has_blurry_content,
177 bool has_potential_performance_regression) override;
175 178
176 // cc::LayerTreeHostSingleThreadClient implementation. 179 // cc::LayerTreeHostSingleThreadClient implementation.
177 void RequestScheduleAnimation() override; 180 void RequestScheduleAnimation() override;
178 void DidPostSwapBuffers() override; 181 void DidPostSwapBuffers() override;
179 void DidAbortSwapBuffers() override; 182 void DidAbortSwapBuffers() override;
180 183
181 // cc::RemoteProtoChannel implementation. 184 // cc::RemoteProtoChannel implementation.
182 void SetProtoReceiver(ProtoReceiver* receiver) override; 185 void SetProtoReceiver(ProtoReceiver* receiver) override;
183 void SendCompositorProto(const cc::proto::CompositorMessage& proto) override; 186 void SendCompositorProto(const cc::proto::CompositorMessage& proto) override;
184 187
(...skipping 27 matching lines...) Expand all
212 std::unique_ptr<cc::CopyOutputRequest> temporary_copy_output_request_; 215 std::unique_ptr<cc::CopyOutputRequest> temporary_copy_output_request_;
213 216
214 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_; 217 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_;
215 218
216 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; 219 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_;
217 }; 220 };
218 221
219 } // namespace content 222 } // namespace content
220 223
221 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 224 #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