Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_mac.h

Issue 8591006: Reland 110355 - Use shared D3D9 texture to transport the compositor's backing buffer to the brows... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 gfx::PluginWindowHandle window, 268 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params,
269 uint64 surface_id,
270 int renderer_id,
271 int32 route_id,
272 int gpu_host_id) OVERRIDE; 269 int gpu_host_id) 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(
281 CGLContextObj context, 278 CGLContextObj context,
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 420
424 class RenderWidgetHostView; 421 class RenderWidgetHostView;
425 class RenderWidgetHost; 422 class RenderWidgetHost;
426 423
427 namespace render_widget_host_view_mac { 424 namespace render_widget_host_view_mac {
428 CONTENT_EXPORT RenderWidgetHostView* CreateRenderWidgetHostView( 425 CONTENT_EXPORT RenderWidgetHostView* CreateRenderWidgetHostView(
429 RenderWidgetHost* widget); 426 RenderWidgetHost* widget);
430 } 427 }
431 428
432 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 429 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698