OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |