| 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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 gfx::PluginWindowHandle window, | 258 gfx::PluginWindowHandle window, |
| 259 int32 width, | 259 int32 width, |
| 260 int32 height, | 260 int32 height, |
| 261 uint64 io_surface_identifier) OVERRIDE; | 261 uint64 io_surface_identifier) OVERRIDE; |
| 262 virtual void AcceleratedSurfaceSetTransportDIB( | 262 virtual void AcceleratedSurfaceSetTransportDIB( |
| 263 gfx::PluginWindowHandle window, | 263 gfx::PluginWindowHandle window, |
| 264 int32 width, | 264 int32 width, |
| 265 int32 height, | 265 int32 height, |
| 266 TransportDIB::Handle transport_dib) OVERRIDE; | 266 TransportDIB::Handle transport_dib) OVERRIDE; |
| 267 virtual void AcceleratedSurfaceBuffersSwapped( | 267 virtual void AcceleratedSurfaceBuffersSwapped( |
| 268 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 268 gfx::PluginWindowHandle window, |
| 269 uint64 surface_id, |
| 270 int renderer_id, |
| 271 int32 route_id, |
| 269 int gpu_host_id) OVERRIDE; | 272 int gpu_host_id) OVERRIDE; |
| 270 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; | 273 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; |
| 271 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; | 274 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; |
| 272 virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE; | 275 virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE; |
| 273 | 276 |
| 274 // Returns |true| if a context menu is currently being shown. | 277 // Returns |true| if a context menu is currently being shown. |
| 275 bool is_showing_context_menu() const { return is_showing_context_menu_; } | 278 bool is_showing_context_menu() const { return is_showing_context_menu_; } |
| 276 | 279 |
| 277 void DrawAcceleratedSurfaceInstance( | 280 void DrawAcceleratedSurfaceInstance( |
| 278 CGLContextObj context, | 281 CGLContextObj context, |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 | 423 |
| 421 class RenderWidgetHostView; | 424 class RenderWidgetHostView; |
| 422 class RenderWidgetHost; | 425 class RenderWidgetHost; |
| 423 | 426 |
| 424 namespace render_widget_host_view_mac { | 427 namespace render_widget_host_view_mac { |
| 425 CONTENT_EXPORT RenderWidgetHostView* CreateRenderWidgetHostView( | 428 CONTENT_EXPORT RenderWidgetHostView* CreateRenderWidgetHostView( |
| 426 RenderWidgetHost* widget); | 429 RenderWidgetHost* widget); |
| 427 } | 430 } |
| 428 | 431 |
| 429 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 432 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |