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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 virtual void AcceleratedSurfaceSuspend() OVERRIDE; | 225 virtual void AcceleratedSurfaceSuspend() OVERRIDE; |
226 virtual void AcceleratedSurfaceRelease() OVERRIDE; | 226 virtual void AcceleratedSurfaceRelease() OVERRIDE; |
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() |
| 236 OVERRIDE; |
235 virtual SyntheticGesture* CreateSmoothScrollGesture( | 237 virtual SyntheticGesture* CreateSmoothScrollGesture( |
236 bool scroll_down, | 238 bool scroll_down, |
237 int pixels_to_scroll, | 239 int pixels_to_scroll, |
238 int mouse_event_x, | 240 int mouse_event_x, |
239 int mouse_event_y) OVERRIDE; | 241 int mouse_event_y) OVERRIDE; |
240 virtual void SetHasHorizontalScrollbar( | 242 virtual void SetHasHorizontalScrollbar( |
241 bool has_horizontal_scrollbar) OVERRIDE; | 243 bool has_horizontal_scrollbar) OVERRIDE; |
242 virtual void SetScrollOffsetPinning( | 244 virtual void SetScrollOffsetPinning( |
243 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 245 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
244 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 246 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
758 scoped_ptr<ReleasedFrameInfo> released_software_frame_; | 760 scoped_ptr<ReleasedFrameInfo> released_software_frame_; |
759 scoped_ptr<DelegatedFrameEvictor> delegated_frame_evictor_; | 761 scoped_ptr<DelegatedFrameEvictor> delegated_frame_evictor_; |
760 | 762 |
761 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | 763 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; |
762 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 764 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
763 }; | 765 }; |
764 | 766 |
765 } // namespace content | 767 } // namespace content |
766 | 768 |
767 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 769 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |