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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 skia::PlatformBitmap* output) OVERRIDE; | 95 skia::PlatformBitmap* output) OVERRIDE; |
96 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; | 96 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; |
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(uint64 surface_id, |
106 int32 height_in_pixel, | |
107 uint64 surface_id, | |
108 const std::string& mailbox_name) OVERRIDE; | 106 const std::string& mailbox_name) OVERRIDE; |
109 virtual void SetHasHorizontalScrollbar( | 107 virtual void SetHasHorizontalScrollbar( |
110 bool has_horizontal_scrollbar) OVERRIDE; | 108 bool has_horizontal_scrollbar) OVERRIDE; |
111 virtual void SetScrollOffsetPinning( | 109 virtual void SetScrollOffsetPinning( |
112 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 110 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
113 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; | 111 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; |
114 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 112 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
115 virtual bool LockMouse() OVERRIDE; | 113 virtual bool LockMouse() OVERRIDE; |
116 virtual void UnlockMouse() OVERRIDE; | 114 virtual void UnlockMouse() OVERRIDE; |
117 | 115 |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 | 191 |
194 BrowserPluginGuest *guest_; | 192 BrowserPluginGuest *guest_; |
195 gfx::Size size_; | 193 gfx::Size size_; |
196 | 194 |
197 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 195 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
198 }; | 196 }; |
199 | 197 |
200 } // namespace content | 198 } // namespace content |
201 | 199 |
202 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 200 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |