| 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 scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() |
| 173 OVERRIDE; |
| 172 virtual SyntheticGesture* CreateSmoothScrollGesture( | 174 virtual SyntheticGesture* CreateSmoothScrollGesture( |
| 173 bool scroll_down, int pixels_to_scroll, int mouse_event_x, | 175 bool scroll_down, int pixels_to_scroll, int mouse_event_x, |
| 174 int mouse_event_y) OVERRIDE; | 176 int mouse_event_y) OVERRIDE; |
| 175 virtual SyntheticGesture* CreatePinchGesture( | 177 virtual SyntheticGesture* CreatePinchGesture( |
| 176 bool zoom_in, int pixels_to_move, int anchor_x, | 178 bool zoom_in, int pixels_to_move, int anchor_x, |
| 177 int anchor_y) OVERRIDE; | 179 int anchor_y) OVERRIDE; |
| 178 | 180 |
| 179 // Implementation of BrowserAccessibilityDelegate: | 181 // Implementation of BrowserAccessibilityDelegate: |
| 180 virtual void SetAccessibilityFocus(int acc_obj_id) OVERRIDE; | 182 virtual void SetAccessibilityFocus(int acc_obj_id) OVERRIDE; |
| 181 virtual void AccessibilityDoDefaultAction(int acc_obj_id) OVERRIDE; | 183 virtual void AccessibilityDoDefaultAction(int acc_obj_id) OVERRIDE; |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 scoped_ptr<OverscrollGlow> overscroll_effect_; | 338 scoped_ptr<OverscrollGlow> overscroll_effect_; |
| 337 | 339 |
| 338 bool flush_input_requested_; | 340 bool flush_input_requested_; |
| 339 | 341 |
| 340 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 342 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 341 }; | 343 }; |
| 342 | 344 |
| 343 } // namespace content | 345 } // namespace content |
| 344 | 346 |
| 345 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 347 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |