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; | |
83 virtual bool CanSubscribeFrame() const OVERRIDE; | 77 virtual bool CanSubscribeFrame() const OVERRIDE; |
84 virtual void BeginFrameSubscription( | 78 virtual void BeginFrameSubscription( |
85 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; | 79 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; |
86 virtual void EndFrameSubscription() OVERRIDE; | 80 virtual void EndFrameSubscription() OVERRIDE; |
87 virtual void OnSwapCompositorFrame( | 81 virtual void OnSwapCompositorFrame( |
88 uint32 output_surface_id, | 82 uint32 output_surface_id, |
89 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE {} | 83 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE {} |
90 virtual void ResizeCompositingSurface(const gfx::Size&) OVERRIDE {} | 84 virtual void ResizeCompositingSurface(const gfx::Size&) OVERRIDE {} |
91 virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, | 85 virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, |
92 gfx::Vector2dF current_fling_velocity) OVERRIDE; | 86 gfx::Vector2dF current_fling_velocity) OVERRIDE; |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 uint32 renderer_frame_number_; | 164 uint32 renderer_frame_number_; |
171 | 165 |
172 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; | 166 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; |
173 | 167 |
174 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 168 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
175 }; | 169 }; |
176 | 170 |
177 } // namespace content | 171 } // namespace content |
178 | 172 |
179 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 173 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
OLD | NEW |