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_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 Loading... |
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 Loading... |
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_ |
OLD | NEW |