OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 const SkBitmap::Config config) OVERRIDE; | 93 const SkBitmap::Config config) OVERRIDE; |
94 virtual void AcceleratedSurfaceBuffersSwapped( | 94 virtual void AcceleratedSurfaceBuffersSwapped( |
95 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 95 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
96 int gpu_host_id) OVERRIDE; | 96 int gpu_host_id) OVERRIDE; |
97 virtual void AcceleratedSurfacePostSubBuffer( | 97 virtual void AcceleratedSurfacePostSubBuffer( |
98 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, | 98 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, |
99 int gpu_host_id) OVERRIDE; | 99 int gpu_host_id) OVERRIDE; |
100 virtual void OnSwapCompositorFrame( | 100 virtual void OnSwapCompositorFrame( |
101 uint32 output_surface_id, | 101 uint32 output_surface_id, |
102 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; | 102 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; |
103 virtual void SetScrollOffsetPinning( | |
104 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | |
105 #if defined(USE_AURA) | 103 #if defined(USE_AURA) |
106 virtual void ProcessAckedTouchEvent( | 104 virtual void ProcessAckedTouchEvent( |
107 const TouchEventWithLatencyInfo& touch, | 105 const TouchEventWithLatencyInfo& touch, |
108 InputEventAckState ack_result) OVERRIDE; | 106 InputEventAckState ack_result) OVERRIDE; |
109 #endif | 107 #endif |
110 virtual bool LockMouse() OVERRIDE; | 108 virtual bool LockMouse() OVERRIDE; |
111 virtual void UnlockMouse() OVERRIDE; | 109 virtual void UnlockMouse() OVERRIDE; |
112 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE; | 110 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE; |
113 | 111 |
114 #if defined(OS_MACOSX) | 112 #if defined(OS_MACOSX) |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 RenderWidgetHostViewBase* platform_view_; | 172 RenderWidgetHostViewBase* platform_view_; |
175 #if defined(USE_AURA) | 173 #if defined(USE_AURA) |
176 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 174 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
177 #endif | 175 #endif |
178 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 176 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
179 }; | 177 }; |
180 | 178 |
181 } // namespace content | 179 } // namespace content |
182 | 180 |
183 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 181 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |