| 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, | 144 virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, |
| 145 InputEventAckState ack_result) OVERRIDE; | 145 InputEventAckState ack_result) OVERRIDE; |
| 146 virtual void SetHasHorizontalScrollbar( | 146 virtual void SetHasHorizontalScrollbar( |
| 147 bool has_horizontal_scrollbar) OVERRIDE; | 147 bool has_horizontal_scrollbar) OVERRIDE; |
| 148 virtual void SetScrollOffsetPinning( | 148 virtual void SetScrollOffsetPinning( |
| 149 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 149 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
| 150 virtual void UnhandledWheelEvent( | 150 virtual void UnhandledWheelEvent( |
| 151 const WebKit::WebMouseWheelEvent& event) OVERRIDE; | 151 const WebKit::WebMouseWheelEvent& event) OVERRIDE; |
| 152 virtual InputEventAckState FilterInputEvent( | 152 virtual InputEventAckState FilterInputEvent( |
| 153 const WebKit::WebInputEvent& input_event) OVERRIDE; | 153 const WebKit::WebInputEvent& input_event) OVERRIDE; |
| 154 virtual void OnSetNeedsFlushInput() OVERRIDE; |
| 154 virtual void GestureEventAck(int gesture_event_type, | 155 virtual void GestureEventAck(int gesture_event_type, |
| 155 InputEventAckState ack_result) OVERRIDE; | 156 InputEventAckState ack_result) OVERRIDE; |
| 156 virtual void OnAccessibilityEvents( | 157 virtual void OnAccessibilityEvents( |
| 157 const std::vector<AccessibilityHostMsg_EventParams>& | 158 const std::vector<AccessibilityHostMsg_EventParams>& |
| 158 params) OVERRIDE; | 159 params) OVERRIDE; |
| 159 virtual bool LockMouse() OVERRIDE; | 160 virtual bool LockMouse() OVERRIDE; |
| 160 virtual void UnlockMouse() OVERRIDE; | 161 virtual void UnlockMouse() OVERRIDE; |
| 161 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE; | 162 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE; |
| 162 virtual void OnSwapCompositorFrame( | 163 virtual void OnSwapCompositorFrame( |
| 163 uint32 output_surface_id, | 164 uint32 output_surface_id, |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 uint32_t current_mailbox_output_surface_id_; | 323 uint32_t current_mailbox_output_surface_id_; |
| 323 | 324 |
| 324 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 325 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
| 325 | 326 |
| 326 std::queue<base::Closure> ack_callbacks_; | 327 std::queue<base::Closure> ack_callbacks_; |
| 327 | 328 |
| 328 // Used to render overscroll overlays. | 329 // Used to render overscroll overlays. |
| 329 bool overscroll_effect_enabled_; | 330 bool overscroll_effect_enabled_; |
| 330 scoped_ptr<OverscrollGlow> overscroll_effect_; | 331 scoped_ptr<OverscrollGlow> overscroll_effect_; |
| 331 | 332 |
| 333 bool flush_input_requested_; |
| 334 |
| 332 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 335 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 333 }; | 336 }; |
| 334 | 337 |
| 335 } // namespace content | 338 } // namespace content |
| 336 | 339 |
| 337 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 340 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |