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