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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 virtual void SetHasHorizontalScrollbar( | 145 virtual void SetHasHorizontalScrollbar( |
146 bool has_horizontal_scrollbar) OVERRIDE; | 146 bool has_horizontal_scrollbar) OVERRIDE; |
147 virtual void SetScrollOffsetPinning( | 147 virtual void SetScrollOffsetPinning( |
148 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 148 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
149 virtual void UnhandledWheelEvent( | 149 virtual void UnhandledWheelEvent( |
150 const WebKit::WebMouseWheelEvent& event) OVERRIDE; | 150 const WebKit::WebMouseWheelEvent& event) OVERRIDE; |
151 virtual InputEventAckState FilterInputEvent( | 151 virtual InputEventAckState FilterInputEvent( |
152 const WebKit::WebInputEvent& input_event) OVERRIDE; | 152 const WebKit::WebInputEvent& input_event) OVERRIDE; |
153 virtual void GestureEventAck(int gesture_event_type, | 153 virtual void GestureEventAck(int gesture_event_type, |
154 InputEventAckState ack_result) OVERRIDE; | 154 InputEventAckState ack_result) OVERRIDE; |
155 virtual void OnAccessibilityNotifications( | 155 virtual void OnAccessibilityEvents( |
156 const std::vector<AccessibilityHostMsg_NotificationParams>& | 156 const std::vector<AccessibilityHostMsg_EventParams>& |
157 params) OVERRIDE; | 157 params) OVERRIDE; |
158 virtual bool LockMouse() OVERRIDE; | 158 virtual bool LockMouse() OVERRIDE; |
159 virtual void UnlockMouse() OVERRIDE; | 159 virtual void UnlockMouse() OVERRIDE; |
160 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE; | 160 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE; |
161 virtual void OnSwapCompositorFrame( | 161 virtual void OnSwapCompositorFrame( |
162 uint32 output_surface_id, | 162 uint32 output_surface_id, |
163 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; | 163 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; |
164 virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, | 164 virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, |
165 gfx::Vector2dF current_fling_velocity) OVERRIDE; | 165 gfx::Vector2dF current_fling_velocity) OVERRIDE; |
166 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, | 166 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 // Used to render overscroll overlays. | 321 // Used to render overscroll overlays. |
322 bool overscroll_effect_enabled_; | 322 bool overscroll_effect_enabled_; |
323 scoped_ptr<OverscrollGlow> overscroll_effect_; | 323 scoped_ptr<OverscrollGlow> overscroll_effect_; |
324 | 324 |
325 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 325 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
326 }; | 326 }; |
327 | 327 |
328 } // namespace content | 328 } // namespace content |
329 | 329 |
330 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 330 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |