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

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

Issue 26664002: SyntheticGestureTarget implementation for injecting synthetic input events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nonstateless Created 7 years, 2 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
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_VIEW_BASE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
7 7
8 #if defined(OS_MACOSX) 8 #if defined(OS_MACOSX)
9 #include <OpenGL/OpenGL.h> 9 #include <OpenGL/OpenGL.h>
10 #endif 10 #endif
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 virtual void OnSetNeedsFlushInput() OVERRIDE; 64 virtual void OnSetNeedsFlushInput() OVERRIDE;
65 virtual void OnDidFlushInput() OVERRIDE; 65 virtual void OnDidFlushInput() OVERRIDE;
66 virtual void GestureEventAck(int gesture_event_type, 66 virtual void GestureEventAck(int gesture_event_type,
67 InputEventAckState ack_result) OVERRIDE; 67 InputEventAckState ack_result) OVERRIDE;
68 virtual void SetPopupType(WebKit::WebPopupType popup_type) OVERRIDE; 68 virtual void SetPopupType(WebKit::WebPopupType popup_type) OVERRIDE;
69 virtual WebKit::WebPopupType GetPopupType() OVERRIDE; 69 virtual WebKit::WebPopupType GetPopupType() OVERRIDE;
70 virtual BrowserAccessibilityManager* 70 virtual BrowserAccessibilityManager*
71 GetBrowserAccessibilityManager() const OVERRIDE; 71 GetBrowserAccessibilityManager() const OVERRIDE;
72 virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, 72 virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch,
73 InputEventAckState ack_result) OVERRIDE; 73 InputEventAckState ack_result) OVERRIDE;
74 virtual void QueueInputEventToPlatform(const InputEvent& event) OVERRIDE;
74 virtual SyntheticGesture* CreateSmoothScrollGesture( 75 virtual SyntheticGesture* CreateSmoothScrollGesture(
75 bool scroll_down, int pixels_to_scroll, int mouse_event_x, 76 bool scroll_down, int pixels_to_scroll, int mouse_event_x,
76 int mouse_event_y) OVERRIDE; 77 int mouse_event_y) OVERRIDE;
77 virtual SyntheticGesture* CreatePinchGesture( 78 virtual SyntheticGesture* CreatePinchGesture(
78 bool zoom_in, int pixels_to_move, int anchor_x, 79 bool zoom_in, int pixels_to_move, int anchor_x,
79 int anchor_y) OVERRIDE; 80 int anchor_y) OVERRIDE;
80 virtual bool CanSubscribeFrame() const OVERRIDE; 81 virtual bool CanSubscribeFrame() const OVERRIDE;
81 virtual void BeginFrameSubscription( 82 virtual void BeginFrameSubscription(
82 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; 83 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE;
83 virtual void EndFrameSubscription() OVERRIDE; 84 virtual void EndFrameSubscription() OVERRIDE;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 gfx::Rect current_display_area_; 163 gfx::Rect current_display_area_;
163 164
164 uint32 renderer_frame_number_; 165 uint32 renderer_frame_number_;
165 166
166 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 167 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
167 }; 168 };
168 169
169 } // namespace content 170 } // namespace content
170 171
171 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 172 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698