| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 virtual void AcceleratedSurfaceBuffersSwapped( | 97 virtual void AcceleratedSurfaceBuffersSwapped( |
| 98 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 98 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
| 99 int gpu_host_id) OVERRIDE; | 99 int gpu_host_id) OVERRIDE; |
| 100 virtual void AcceleratedSurfacePostSubBuffer( | 100 virtual void AcceleratedSurfacePostSubBuffer( |
| 101 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, | 101 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, |
| 102 int gpu_host_id) OVERRIDE; | 102 int gpu_host_id) OVERRIDE; |
| 103 virtual void AcceleratedSurfaceSuspend() OVERRIDE; | 103 virtual void AcceleratedSurfaceSuspend() OVERRIDE; |
| 104 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; | 104 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; |
| 105 virtual void AcceleratedSurfaceNew(int32 width_in_pixel, | 105 virtual void AcceleratedSurfaceNew(int32 width_in_pixel, |
| 106 int32 height_in_pixel, | 106 int32 height_in_pixel, |
| 107 uint64 surface_id, | 107 uint64 surface_id) OVERRIDE; |
| 108 const std::string& mailbox_name) OVERRIDE; | |
| 109 virtual void SetHasHorizontalScrollbar( | 108 virtual void SetHasHorizontalScrollbar( |
| 110 bool has_horizontal_scrollbar) OVERRIDE; | 109 bool has_horizontal_scrollbar) OVERRIDE; |
| 111 virtual void SetScrollOffsetPinning( | 110 virtual void SetScrollOffsetPinning( |
| 112 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 111 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
| 113 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; | 112 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; |
| 114 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 113 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
| 115 virtual bool LockMouse() OVERRIDE; | 114 virtual bool LockMouse() OVERRIDE; |
| 116 virtual void UnlockMouse() OVERRIDE; | 115 virtual void UnlockMouse() OVERRIDE; |
| 117 | 116 |
| 118 #if defined(OS_MACOSX) | 117 #if defined(OS_MACOSX) |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 | 192 |
| 194 BrowserPluginGuest *guest_; | 193 BrowserPluginGuest *guest_; |
| 195 gfx::Size size_; | 194 gfx::Size size_; |
| 196 | 195 |
| 197 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 196 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
| 198 }; | 197 }; |
| 199 | 198 |
| 200 } // namespace content | 199 } // namespace content |
| 201 | 200 |
| 202 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 201 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
| OLD | NEW |