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 gfx::PluginWindowHandle window, | 261 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
262 uint64 surface_id, | |
263 int renderer_id, | |
264 int32 route_id, | |
265 int gpu_host_id) OVERRIDE; | 262 int gpu_host_id) OVERRIDE; |
266 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; | 263 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; |
267 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; | 264 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; |
268 virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE; | 265 virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE; |
269 | 266 |
270 // Returns |true| if a context menu is currently being shown. | 267 // Returns |true| if a context menu is currently being shown. |
271 bool is_showing_context_menu() const { return is_showing_context_menu_; } | 268 bool is_showing_context_menu() const { return is_showing_context_menu_; } |
272 | 269 |
273 void DrawAcceleratedSurfaceInstance( | 270 void DrawAcceleratedSurfaceInstance( |
274 CGLContextObj context, | 271 CGLContextObj context, |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
417 | 414 |
418 class RenderWidgetHostView; | 415 class RenderWidgetHostView; |
419 class RenderWidgetHost; | 416 class RenderWidgetHost; |
420 | 417 |
421 namespace render_widget_host_view_mac { | 418 namespace render_widget_host_view_mac { |
422 CONTENT_EXPORT RenderWidgetHostView* CreateRenderWidgetHostView( | 419 CONTENT_EXPORT RenderWidgetHostView* CreateRenderWidgetHostView( |
423 RenderWidgetHost* widget); | 420 RenderWidgetHost* widget); |
424 } | 421 } |
425 | 422 |
426 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 423 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |