OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_RENDER_WIDGET_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_ |
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ | 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 void DidCompletePageScaleAnimation() override; | 195 void DidCompletePageScaleAnimation() override; |
196 void DidCompleteSwapBuffers() override; | 196 void DidCompleteSwapBuffers() override; |
197 void ForwardCompositorProto(const std::vector<uint8_t>& proto) override; | 197 void ForwardCompositorProto(const std::vector<uint8_t>& proto) override; |
198 bool IsClosing() const override; | 198 bool IsClosing() const override; |
199 void OnSwapBuffersAborted() override; | 199 void OnSwapBuffersAborted() override; |
200 void OnSwapBuffersComplete() override; | 200 void OnSwapBuffersComplete() override; |
201 void OnSwapBuffersPosted() override; | 201 void OnSwapBuffersPosted() override; |
202 void RequestScheduleAnimation() override; | 202 void RequestScheduleAnimation() override; |
203 void UpdateVisualState() override; | 203 void UpdateVisualState() override; |
204 void WillBeginCompositorFrame() override; | 204 void WillBeginCompositorFrame() override; |
| 205 void ReportFixedRasterScaleUseCounters( |
| 206 bool has_blurry_content, |
| 207 bool has_potential_performance_regression) override; |
205 | 208 |
206 // RenderWidgetInputHandlerDelegate | 209 // RenderWidgetInputHandlerDelegate |
207 void FocusChangeComplete() override; | 210 void FocusChangeComplete() override; |
208 bool HasTouchEventHandlersAt(const gfx::Point& point) const override; | 211 bool HasTouchEventHandlersAt(const gfx::Point& point) const override; |
209 void ObserveWheelEventAndResult(const blink::WebMouseWheelEvent& wheel_event, | 212 void ObserveWheelEventAndResult(const blink::WebMouseWheelEvent& wheel_event, |
210 const gfx::Vector2dF& wheel_unused_delta, | 213 const gfx::Vector2dF& wheel_unused_delta, |
211 bool event_processed) override; | 214 bool event_processed) override; |
212 void ObserveGestureEventAndResult(const blink::WebGestureEvent& gesture_event, | 215 void ObserveGestureEventAndResult(const blink::WebGestureEvent& gesture_event, |
213 const gfx::Vector2dF& unused_delta, | 216 const gfx::Vector2dF& unused_delta, |
214 bool event_processed) override; | 217 bool event_processed) override; |
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
763 | 766 |
764 // Indicates whether this widget has focus. | 767 // Indicates whether this widget has focus. |
765 bool has_focus_; | 768 bool has_focus_; |
766 | 769 |
767 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 770 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
768 }; | 771 }; |
769 | 772 |
770 } // namespace content | 773 } // namespace content |
771 | 774 |
772 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 775 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |