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_ANDROID_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <queue> | 9 #include <queue> |
10 | 10 |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, | 142 virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, |
143 InputEventAckState ack_result) OVERRIDE; | 143 InputEventAckState ack_result) OVERRIDE; |
144 virtual void SetHasHorizontalScrollbar( | 144 virtual void SetHasHorizontalScrollbar( |
145 bool has_horizontal_scrollbar) OVERRIDE; | 145 bool has_horizontal_scrollbar) OVERRIDE; |
146 virtual void SetScrollOffsetPinning( | 146 virtual void SetScrollOffsetPinning( |
147 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 147 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
148 virtual void UnhandledWheelEvent( | 148 virtual void UnhandledWheelEvent( |
149 const WebKit::WebMouseWheelEvent& event) OVERRIDE; | 149 const WebKit::WebMouseWheelEvent& event) OVERRIDE; |
150 virtual InputEventAckState FilterInputEvent( | 150 virtual InputEventAckState FilterInputEvent( |
151 const WebKit::WebInputEvent& input_event) OVERRIDE; | 151 const WebKit::WebInputEvent& input_event) OVERRIDE; |
| 152 virtual void GestureEventAck(int gesture_event_type, |
| 153 InputEventAckState ack_result) OVERRIDE; |
152 virtual void OnAccessibilityNotifications( | 154 virtual void OnAccessibilityNotifications( |
153 const std::vector<AccessibilityHostMsg_NotificationParams>& | 155 const std::vector<AccessibilityHostMsg_NotificationParams>& |
154 params) OVERRIDE; | 156 params) OVERRIDE; |
155 virtual bool LockMouse() OVERRIDE; | 157 virtual bool LockMouse() OVERRIDE; |
156 virtual void UnlockMouse() OVERRIDE; | 158 virtual void UnlockMouse() OVERRIDE; |
157 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE; | 159 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE; |
158 virtual void OnSwapCompositorFrame( | 160 virtual void OnSwapCompositorFrame( |
159 uint32 output_surface_id, | 161 uint32 output_surface_id, |
160 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; | 162 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; |
161 virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, | 163 virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 // Used to render overscroll overlays. | 307 // Used to render overscroll overlays. |
306 bool overscroll_effect_enabled_; | 308 bool overscroll_effect_enabled_; |
307 scoped_ptr<OverscrollGlow> overscroll_effect_; | 309 scoped_ptr<OverscrollGlow> overscroll_effect_; |
308 | 310 |
309 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 311 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
310 }; | 312 }; |
311 | 313 |
312 } // namespace content | 314 } // namespace content |
313 | 315 |
314 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 316 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |