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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 virtual bool LockMouse() OVERRIDE; | 164 virtual bool LockMouse() OVERRIDE; |
165 virtual void UnlockMouse() OVERRIDE; | 165 virtual void UnlockMouse() OVERRIDE; |
166 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE; | 166 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE; |
167 virtual void OnSwapCompositorFrame( | 167 virtual void OnSwapCompositorFrame( |
168 uint32 output_surface_id, | 168 uint32 output_surface_id, |
169 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; | 169 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; |
170 virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, | 170 virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, |
171 gfx::Vector2dF current_fling_velocity) OVERRIDE; | 171 gfx::Vector2dF current_fling_velocity) OVERRIDE; |
172 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, | 172 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, |
173 const SkBitmap& zoomed_bitmap) OVERRIDE; | 173 const SkBitmap& zoomed_bitmap) OVERRIDE; |
| 174 virtual scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() |
| 175 OVERRIDE; |
174 virtual SyntheticGesture* CreateSmoothScrollGesture( | 176 virtual SyntheticGesture* CreateSmoothScrollGesture( |
175 bool scroll_down, int pixels_to_scroll, int mouse_event_x, | 177 bool scroll_down, int pixels_to_scroll, int mouse_event_x, |
176 int mouse_event_y) OVERRIDE; | 178 int mouse_event_y) OVERRIDE; |
177 virtual SyntheticGesture* CreatePinchGesture( | 179 virtual SyntheticGesture* CreatePinchGesture( |
178 bool zoom_in, int pixels_to_move, int anchor_x, | 180 bool zoom_in, int pixels_to_move, int anchor_x, |
179 int anchor_y) OVERRIDE; | 181 int anchor_y) OVERRIDE; |
180 | 182 |
181 // Implementation of BrowserAccessibilityDelegate: | 183 // Implementation of BrowserAccessibilityDelegate: |
182 virtual void SetAccessibilityFocus(int acc_obj_id) OVERRIDE; | 184 virtual void SetAccessibilityFocus(int acc_obj_id) OVERRIDE; |
183 virtual void AccessibilityDoDefaultAction(int acc_obj_id) OVERRIDE; | 185 virtual void AccessibilityDoDefaultAction(int acc_obj_id) OVERRIDE; |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 bool flush_input_requested_; | 341 bool flush_input_requested_; |
340 | 342 |
341 int accelerated_surface_route_id_; | 343 int accelerated_surface_route_id_; |
342 | 344 |
343 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 345 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
344 }; | 346 }; |
345 | 347 |
346 } // namespace content | 348 } // namespace content |
347 | 349 |
348 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 350 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |