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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 float page_scale, | 167 float page_scale, |
168 float top_controls_delta) override; | 168 float top_controls_delta) override; |
169 void RequestNewOutputSurface() override; | 169 void RequestNewOutputSurface() override; |
170 void DidInitializeOutputSurface() override; | 170 void DidInitializeOutputSurface() override; |
171 void DidFailToInitializeOutputSurface() override; | 171 void DidFailToInitializeOutputSurface() override; |
172 void WillCommit() override; | 172 void WillCommit() override; |
173 void DidCommit() override; | 173 void DidCommit() override; |
174 void DidCommitAndDrawFrame() override; | 174 void DidCommitAndDrawFrame() override; |
175 void DidCompleteSwapBuffers() override; | 175 void DidCompleteSwapBuffers() override; |
176 void DidCompletePageScaleAnimation() override; | 176 void DidCompletePageScaleAnimation() override; |
177 void ReportFixedRasterScaleUseCounters( | |
178 bool has_blurry_content, | |
179 bool has_potential_performance_regression) override; | |
180 | 177 |
181 // cc::LayerTreeHostSingleThreadClient implementation. | 178 // cc::LayerTreeHostSingleThreadClient implementation. |
182 void RequestScheduleAnimation() override; | 179 void RequestScheduleAnimation() override; |
183 void DidPostSwapBuffers() override; | 180 void DidPostSwapBuffers() override; |
184 void DidAbortSwapBuffers() override; | 181 void DidAbortSwapBuffers() override; |
185 | 182 |
186 // cc::RemoteProtoChannel implementation. | 183 // cc::RemoteProtoChannel implementation. |
187 void SetProtoReceiver(ProtoReceiver* receiver) override; | 184 void SetProtoReceiver(ProtoReceiver* receiver) override; |
188 void SendCompositorProto(const cc::proto::CompositorMessage& proto) override; | 185 void SendCompositorProto(const cc::proto::CompositorMessage& proto) override; |
189 | 186 |
(...skipping 27 matching lines...) Expand all Loading... |
217 std::unique_ptr<cc::CopyOutputRequest> temporary_copy_output_request_; | 214 std::unique_ptr<cc::CopyOutputRequest> temporary_copy_output_request_; |
218 | 215 |
219 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_; | 216 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_; |
220 | 217 |
221 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; | 218 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; |
222 }; | 219 }; |
223 | 220 |
224 } // namespace content | 221 } // namespace content |
225 | 222 |
226 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ | 223 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ |
OLD | NEW |