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