| 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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 // Notification that a new compositor frame has been generated following | 287 // Notification that a new compositor frame has been generated following |
| 288 // a page load. This stops |new_content_rendering_timeout_|, or prevents | 288 // a page load. This stops |new_content_rendering_timeout_|, or prevents |
| 289 // the timer from running if the load commit message hasn't been received | 289 // the timer from running if the load commit message hasn't been received |
| 290 // yet. | 290 // yet. |
| 291 void OnFirstPaintAfterLoad(); | 291 void OnFirstPaintAfterLoad(); |
| 292 | 292 |
| 293 // Forwards the given message to the renderer. These are called by the view | 293 // Forwards the given message to the renderer. These are called by the view |
| 294 // when it has received a message. | 294 // when it has received a message. |
| 295 void ForwardGestureEventWithLatencyInfo( | 295 void ForwardGestureEventWithLatencyInfo( |
| 296 const blink::WebGestureEvent& gesture_event, | 296 const blink::WebGestureEvent& gesture_event, |
| 297 const ui::LatencyInfo& ui_latency); | 297 const ui::LatencyInfo& ui_latency) override; |
| 298 void ForwardTouchEventWithLatencyInfo( | 298 void ForwardTouchEventWithLatencyInfo( |
| 299 const blink::WebTouchEvent& touch_event, | 299 const blink::WebTouchEvent& touch_event, |
| 300 const ui::LatencyInfo& ui_latency); | 300 const ui::LatencyInfo& ui_latency); |
| 301 void ForwardMouseEventWithLatencyInfo( | 301 void ForwardMouseEventWithLatencyInfo( |
| 302 const blink::WebMouseEvent& mouse_event, | 302 const blink::WebMouseEvent& mouse_event, |
| 303 const ui::LatencyInfo& ui_latency); | 303 const ui::LatencyInfo& ui_latency); |
| 304 void ForwardWheelEventWithLatencyInfo( | 304 void ForwardWheelEventWithLatencyInfo( |
| 305 const blink::WebMouseWheelEvent& wheel_event, | 305 const blink::WebMouseWheelEvent& wheel_event, |
| 306 const ui::LatencyInfo& ui_latency); | 306 const ui::LatencyInfo& ui_latency); |
| 307 | 307 |
| (...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 823 base::TimeDelta new_content_rendering_delay_; | 823 base::TimeDelta new_content_rendering_delay_; |
| 824 | 824 |
| 825 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 825 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
| 826 | 826 |
| 827 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 827 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 828 }; | 828 }; |
| 829 | 829 |
| 830 } // namespace content | 830 } // namespace content |
| 831 | 831 |
| 832 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 832 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |