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_AURA_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; | 227 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; |
228 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE; | 228 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE; |
229 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; | 229 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; |
230 virtual void GestureEventAck(int gesture_event_type, | 230 virtual void GestureEventAck(int gesture_event_type, |
231 InputEventAckState ack_result) OVERRIDE; | 231 InputEventAckState ack_result) OVERRIDE; |
232 virtual void ProcessAckedTouchEvent( | 232 virtual void ProcessAckedTouchEvent( |
233 const TouchEventWithLatencyInfo& touch, | 233 const TouchEventWithLatencyInfo& touch, |
234 InputEventAckState ack_result) OVERRIDE; | 234 InputEventAckState ack_result) OVERRIDE; |
235 virtual scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() | 235 virtual scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() |
236 OVERRIDE; | 236 OVERRIDE; |
| 237 virtual SyntheticGesture* CreateSmoothScrollGesture( |
| 238 bool scroll_down, |
| 239 int pixels_to_scroll, |
| 240 int mouse_event_x, |
| 241 int mouse_event_y) OVERRIDE; |
237 virtual void SetHasHorizontalScrollbar( | 242 virtual void SetHasHorizontalScrollbar( |
238 bool has_horizontal_scrollbar) OVERRIDE; | 243 bool has_horizontal_scrollbar) OVERRIDE; |
239 virtual void SetScrollOffsetPinning( | 244 virtual void SetScrollOffsetPinning( |
240 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 245 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
241 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 246 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
242 virtual void OnAccessibilityEvents( | 247 virtual void OnAccessibilityEvents( |
243 const std::vector<AccessibilityHostMsg_EventParams>& | 248 const std::vector<AccessibilityHostMsg_EventParams>& |
244 params) OVERRIDE; | 249 params) OVERRIDE; |
245 virtual bool LockMouse() OVERRIDE; | 250 virtual bool LockMouse() OVERRIDE; |
246 virtual void UnlockMouse() OVERRIDE; | 251 virtual void UnlockMouse() OVERRIDE; |
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
770 // passed to windowless plugins like Flash/Silverlight, etc as the | 775 // passed to windowless plugins like Flash/Silverlight, etc as the |
771 // container window. | 776 // container window. |
772 HWND plugin_parent_window_; | 777 HWND plugin_parent_window_; |
773 #endif | 778 #endif |
774 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 779 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
775 }; | 780 }; |
776 | 781 |
777 } // namespace content | 782 } // namespace content |
778 | 783 |
779 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 784 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |