Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 375863005: Touch emulator: allow multiple touch streams. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed comments, switched to sequence_count Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698