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

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: add virtual to dtor Created 7 years, 1 month 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(blink::WebPopupType popup_type) OVERRIDE; 68 virtual void SetPopupType(blink::WebPopupType popup_type) OVERRIDE;
69 virtual blink::WebPopupType GetPopupType() OVERRIDE; 69 virtual blink::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 scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget()
75 OVERRIDE;
74 virtual SyntheticGesture* CreateSmoothScrollGesture( 76 virtual SyntheticGesture* CreateSmoothScrollGesture(
75 bool scroll_down, int pixels_to_scroll, int mouse_event_x, 77 bool scroll_down, int pixels_to_scroll, int mouse_event_x,
76 int mouse_event_y) OVERRIDE; 78 int mouse_event_y) OVERRIDE;
77 virtual SyntheticGesture* CreatePinchGesture( 79 virtual SyntheticGesture* CreatePinchGesture(
78 bool zoom_in, int pixels_to_move, int anchor_x, 80 bool zoom_in, int pixels_to_move, int anchor_x,
79 int anchor_y) OVERRIDE; 81 int anchor_y) OVERRIDE;
80 virtual bool CanSubscribeFrame() const OVERRIDE; 82 virtual bool CanSubscribeFrame() const OVERRIDE;
81 virtual void BeginFrameSubscription( 83 virtual void BeginFrameSubscription(
82 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; 84 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE;
83 virtual void EndFrameSubscription() OVERRIDE; 85 virtual void EndFrameSubscription() OVERRIDE;
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 gfx::Rect current_display_area_; 165 gfx::Rect current_display_area_;
164 166
165 uint32 renderer_frame_number_; 167 uint32 renderer_frame_number_;
166 168
167 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 169 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
168 }; 170 };
169 171
170 } // namespace content 172 } // namespace content
171 173
172 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 174 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698