| 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_GUEST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 6 #define CONTENT_BROWSER_RENDERER_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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 const base::Callback<void(bool)>& callback) OVERRIDE; | 117 const base::Callback<void(bool)>& callback) OVERRIDE; |
| 118 virtual bool CanCopyToVideoFrame() const OVERRIDE; | 118 virtual bool CanCopyToVideoFrame() const OVERRIDE; |
| 119 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; | 119 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; |
| 120 virtual void AcceleratedSurfaceBuffersSwapped( | 120 virtual void AcceleratedSurfaceBuffersSwapped( |
| 121 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 121 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
| 122 int gpu_host_id) OVERRIDE; | 122 int gpu_host_id) OVERRIDE; |
| 123 virtual void AcceleratedSurfacePostSubBuffer( | 123 virtual void AcceleratedSurfacePostSubBuffer( |
| 124 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, | 124 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, |
| 125 int gpu_host_id) OVERRIDE; | 125 int gpu_host_id) OVERRIDE; |
| 126 virtual void OnSwapCompositorFrame( | 126 virtual void OnSwapCompositorFrame( |
| 127 uint32 output_surface_id, |
| 127 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; | 128 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; |
| 128 virtual void AcceleratedSurfaceSuspend() OVERRIDE; | 129 virtual void AcceleratedSurfaceSuspend() OVERRIDE; |
| 129 virtual void AcceleratedSurfaceRelease() OVERRIDE; | 130 virtual void AcceleratedSurfaceRelease() OVERRIDE; |
| 130 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; | 131 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; |
| 131 virtual void SetHasHorizontalScrollbar( | 132 virtual void SetHasHorizontalScrollbar( |
| 132 bool has_horizontal_scrollbar) OVERRIDE; | 133 bool has_horizontal_scrollbar) OVERRIDE; |
| 133 virtual void SetScrollOffsetPinning( | 134 virtual void SetScrollOffsetPinning( |
| 134 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 135 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
| 135 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; | 136 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; |
| 136 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 137 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 RenderWidgetHostViewPort* platform_view_; | 215 RenderWidgetHostViewPort* platform_view_; |
| 215 #if defined(OS_WIN) || defined(USE_AURA) | 216 #if defined(OS_WIN) || defined(USE_AURA) |
| 216 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 217 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
| 217 #endif // defined(OS_WIN) || defined(USE_AURA) | 218 #endif // defined(OS_WIN) || defined(USE_AURA) |
| 218 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 219 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
| 219 }; | 220 }; |
| 220 | 221 |
| 221 } // namespace content | 222 } // namespace content |
| 222 | 223 |
| 223 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 224 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
| OLD | NEW |