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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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( | 77 virtual SyntheticGesture* CreateSmoothScrollGesture( |
78 bool scroll_down, int pixels_to_scroll, int mouse_event_x, | 78 bool scroll_down, int pixels_to_scroll, int mouse_event_x, |
79 int mouse_event_y) OVERRIDE; | 79 int mouse_event_y) OVERRIDE; |
80 virtual SyntheticGesture* CreatePinchGesture( | 80 virtual SyntheticGesture* CreatePinchGesture( |
81 bool zoom_in, int pixels_to_move, int anchor_x, | 81 bool zoom_in, int pixels_to_move, int anchor_x, |
82 int anchor_y) OVERRIDE; | 82 int anchor_y) OVERRIDE; |
| 83 virtual void FocusedNodeChanged(bool is_editable_node) OVERRIDE; |
83 virtual bool CanSubscribeFrame() const OVERRIDE; | 84 virtual bool CanSubscribeFrame() const OVERRIDE; |
84 virtual void BeginFrameSubscription( | 85 virtual void BeginFrameSubscription( |
85 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; | 86 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; |
86 virtual void EndFrameSubscription() OVERRIDE; | 87 virtual void EndFrameSubscription() OVERRIDE; |
87 virtual void OnSwapCompositorFrame( | 88 virtual void OnSwapCompositorFrame( |
88 uint32 output_surface_id, | 89 uint32 output_surface_id, |
89 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE {} | 90 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE {} |
90 virtual void ResizeCompositingSurface(const gfx::Size&) OVERRIDE {} | 91 virtual void ResizeCompositingSurface(const gfx::Size&) OVERRIDE {} |
91 virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, | 92 virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, |
92 gfx::Vector2dF current_fling_velocity) OVERRIDE; | 93 gfx::Vector2dF current_fling_velocity) OVERRIDE; |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 uint32 renderer_frame_number_; | 171 uint32 renderer_frame_number_; |
171 | 172 |
172 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; | 173 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; |
173 | 174 |
174 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 175 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
175 }; | 176 }; |
176 | 177 |
177 } // namespace content | 178 } // namespace content |
178 | 179 |
179 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 180 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
OLD | NEW |