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_BASE_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
7 | 7 |
8 #if defined(OS_MACOSX) | 8 #if defined(OS_MACOSX) |
9 #include <OpenGL/OpenGL.h> | 9 #include <OpenGL/OpenGL.h> |
10 #endif | 10 #endif |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 virtual void GestureEventAck(int gesture_event_type, | 67 virtual void GestureEventAck(int gesture_event_type, |
68 InputEventAckState ack_result) OVERRIDE; | 68 InputEventAckState ack_result) OVERRIDE; |
69 virtual void SetPopupType(blink::WebPopupType popup_type) OVERRIDE; | 69 virtual void SetPopupType(blink::WebPopupType popup_type) OVERRIDE; |
70 virtual blink::WebPopupType GetPopupType() OVERRIDE; | 70 virtual blink::WebPopupType GetPopupType() OVERRIDE; |
71 virtual BrowserAccessibilityManager* | 71 virtual BrowserAccessibilityManager* |
72 GetBrowserAccessibilityManager() const OVERRIDE; | 72 GetBrowserAccessibilityManager() const OVERRIDE; |
73 virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, | 73 virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, |
74 InputEventAckState ack_result) OVERRIDE; | 74 InputEventAckState ack_result) OVERRIDE; |
75 virtual scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() | 75 virtual scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() |
76 OVERRIDE; | 76 OVERRIDE; |
| 77 virtual SyntheticGesture* CreateSmoothScrollGesture( |
| 78 bool scroll_down, int pixels_to_scroll, int mouse_event_x, |
| 79 int mouse_event_y) OVERRIDE; |
| 80 virtual SyntheticGesture* CreatePinchGesture( |
| 81 bool zoom_in, int pixels_to_move, int anchor_x, |
| 82 int anchor_y) OVERRIDE; |
77 virtual bool CanSubscribeFrame() const OVERRIDE; | 83 virtual bool CanSubscribeFrame() const OVERRIDE; |
78 virtual void BeginFrameSubscription( | 84 virtual void BeginFrameSubscription( |
79 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; | 85 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; |
80 virtual void EndFrameSubscription() OVERRIDE; | 86 virtual void EndFrameSubscription() OVERRIDE; |
81 virtual void OnSwapCompositorFrame( | 87 virtual void OnSwapCompositorFrame( |
82 uint32 output_surface_id, | 88 uint32 output_surface_id, |
83 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE {} | 89 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE {} |
84 virtual void ResizeCompositingSurface(const gfx::Size&) OVERRIDE {} | 90 virtual void ResizeCompositingSurface(const gfx::Size&) OVERRIDE {} |
85 virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, | 91 virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, |
86 gfx::Vector2dF current_fling_velocity) OVERRIDE; | 92 gfx::Vector2dF current_fling_velocity) OVERRIDE; |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 uint32 renderer_frame_number_; | 170 uint32 renderer_frame_number_; |
165 | 171 |
166 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; | 172 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; |
167 | 173 |
168 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 174 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
169 }; | 175 }; |
170 | 176 |
171 } // namespace content | 177 } // namespace content |
172 | 178 |
173 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 179 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
OLD | NEW |