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 <deque> | 8 #include <deque> |
9 #include <list> | 9 #include <list> |
10 #include <map> | 10 #include <map> |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 void ForwardTouchEventWithLatencyInfo( | 289 void ForwardTouchEventWithLatencyInfo( |
290 const blink::WebTouchEvent& touch_event, | 290 const blink::WebTouchEvent& touch_event, |
291 const ui::LatencyInfo& ui_latency); | 291 const ui::LatencyInfo& ui_latency); |
292 void ForwardMouseEventWithLatencyInfo( | 292 void ForwardMouseEventWithLatencyInfo( |
293 const blink::WebMouseEvent& mouse_event, | 293 const blink::WebMouseEvent& mouse_event, |
294 const ui::LatencyInfo& ui_latency); | 294 const ui::LatencyInfo& ui_latency); |
295 void ForwardWheelEventWithLatencyInfo( | 295 void ForwardWheelEventWithLatencyInfo( |
296 const blink::WebMouseWheelEvent& wheel_event, | 296 const blink::WebMouseWheelEvent& wheel_event, |
297 const ui::LatencyInfo& ui_latency); | 297 const ui::LatencyInfo& ui_latency); |
298 | 298 |
299 // TouchEmulatorClient overrides. | 299 // TouchEmulatorClient implementation. |
300 virtual void ForwardGestureEvent( | 300 virtual void ForwardGestureEvent( |
301 const blink::WebGestureEvent& gesture_event) OVERRIDE; | 301 const blink::WebGestureEvent& gesture_event) OVERRIDE; |
302 virtual void ForwardTouchEvent( | 302 virtual void ForwardEmulatedTouchEvent( |
303 const blink::WebTouchEvent& touch_event) OVERRIDE; | 303 const blink::WebTouchEvent& touch_event) OVERRIDE; |
304 virtual void SetCursor(const WebCursor& cursor) OVERRIDE; | 304 virtual void SetCursor(const WebCursor& cursor) OVERRIDE; |
305 | 305 |
306 // Queues a synthetic gesture for testing purposes. Invokes the on_complete | 306 // Queues a synthetic gesture for testing purposes. Invokes the on_complete |
307 // callback when the gesture is finished running. | 307 // callback when the gesture is finished running. |
308 void QueueSyntheticGesture( | 308 void QueueSyntheticGesture( |
309 scoped_ptr<SyntheticGesture> synthetic_gesture, | 309 scoped_ptr<SyntheticGesture> synthetic_gesture, |
310 const base::Callback<void(SyntheticGesture::Result)>& on_complete); | 310 const base::Callback<void(SyntheticGesture::Result)>& on_complete); |
311 | 311 |
312 void CancelUpdateTextDirection(); | 312 void CancelUpdateTextDirection(); |
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
883 typedef std::map<int, | 883 typedef std::map<int, |
884 base::Callback<void(const unsigned char*, size_t)> > PendingSnapshotMap; | 884 base::Callback<void(const unsigned char*, size_t)> > PendingSnapshotMap; |
885 PendingSnapshotMap pending_browser_snapshots_; | 885 PendingSnapshotMap pending_browser_snapshots_; |
886 | 886 |
887 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 887 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
888 }; | 888 }; |
889 | 889 |
890 } // namespace content | 890 } // namespace content |
891 | 891 |
892 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 892 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
OLD | NEW |