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

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

Issue 8625003: Revert 111040 - Reland 110355 - Use shared D3D9 texture to transport the compositor's backing buf... (Closed) Base URL: svn://svn.chromium.org/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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698