OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_MAC_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #if defined(__OBJC__) | 9 #if defined(__OBJC__) |
10 | 10 |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 gfx::PluginWindowHandle window, | 251 gfx::PluginWindowHandle window, |
252 int32 width, | 252 int32 width, |
253 int32 height, | 253 int32 height, |
254 uint64 io_surface_identifier) OVERRIDE; | 254 uint64 io_surface_identifier) OVERRIDE; |
255 virtual void AcceleratedSurfaceSetTransportDIB( | 255 virtual void AcceleratedSurfaceSetTransportDIB( |
256 gfx::PluginWindowHandle window, | 256 gfx::PluginWindowHandle window, |
257 int32 width, | 257 int32 width, |
258 int32 height, | 258 int32 height, |
259 TransportDIB::Handle transport_dib) OVERRIDE; | 259 TransportDIB::Handle transport_dib) OVERRIDE; |
260 virtual void AcceleratedSurfaceBuffersSwapped( | 260 virtual void AcceleratedSurfaceBuffersSwapped( |
261 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 261 gfx::PluginWindowHandle window, |
| 262 uint64 surface_id, |
| 263 int renderer_id, |
| 264 int32 route_id, |
262 int gpu_host_id) OVERRIDE; | 265 int gpu_host_id) OVERRIDE; |
263 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; | 266 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; |
264 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; | 267 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; |
265 virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE; | 268 virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE; |
266 | 269 |
267 // Returns |true| if a context menu is currently being shown. | 270 // Returns |true| if a context menu is currently being shown. |
268 bool is_showing_context_menu() const { return is_showing_context_menu_; } | 271 bool is_showing_context_menu() const { return is_showing_context_menu_; } |
269 | 272 |
270 void DrawAcceleratedSurfaceInstance( | 273 void DrawAcceleratedSurfaceInstance( |
271 CGLContextObj context, | 274 CGLContextObj context, |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 | 417 |
415 class RenderWidgetHostView; | 418 class RenderWidgetHostView; |
416 class RenderWidgetHost; | 419 class RenderWidgetHost; |
417 | 420 |
418 namespace render_widget_host_view_mac { | 421 namespace render_widget_host_view_mac { |
419 CONTENT_EXPORT RenderWidgetHostView* CreateRenderWidgetHostView( | 422 CONTENT_EXPORT RenderWidgetHostView* CreateRenderWidgetHostView( |
420 RenderWidgetHost* widget); | 423 RenderWidgetHost* widget); |
421 } | 424 } |
422 | 425 |
423 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 426 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |