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

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

Issue 4142004: Let every "accelerated IO surface swapped" message have an identifier of the surface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 10 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
7 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 #import <QuartzCore/CALayer.h> 10 #import <QuartzCore/CALayer.h>
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 237
238 virtual void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, 238 virtual void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window,
239 int32 width, 239 int32 width,
240 int32 height, 240 int32 height,
241 uint64 io_surface_identifier); 241 uint64 io_surface_identifier);
242 virtual void AcceleratedSurfaceSetTransportDIB( 242 virtual void AcceleratedSurfaceSetTransportDIB(
243 gfx::PluginWindowHandle window, 243 gfx::PluginWindowHandle window,
244 int32 width, 244 int32 width,
245 int32 height, 245 int32 height,
246 TransportDIB::Handle transport_dib); 246 TransportDIB::Handle transport_dib);
247 virtual void AcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window); 247 virtual void AcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window,
248 uint64 surface_id);
248 virtual void GpuRenderingStateDidChange(); 249 virtual void GpuRenderingStateDidChange();
249 void DrawAcceleratedSurfaceInstance( 250 void DrawAcceleratedSurfaceInstance(
250 CGLContextObj context, 251 CGLContextObj context,
251 gfx::PluginWindowHandle plugin_handle, 252 gfx::PluginWindowHandle plugin_handle,
252 NSSize size); 253 NSSize size);
253 // Forces the textures associated with any accelerated plugin instances 254 // Forces the textures associated with any accelerated plugin instances
254 // to be reloaded. 255 // to be reloaded.
255 void ForceTextureReload(); 256 void ForceTextureReload();
256 257
257 virtual void SetVisuallyDeemphasized(bool deemphasized); 258 virtual void SetVisuallyDeemphasized(bool deemphasized);
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 // Factory used to safely scope delayed calls to ShutdownHost(). 338 // Factory used to safely scope delayed calls to ShutdownHost().
338 ScopedRunnableMethodFactory<RenderWidgetHostViewMac> shutdown_factory_; 339 ScopedRunnableMethodFactory<RenderWidgetHostViewMac> shutdown_factory_;
339 340
340 // selected text on the renderer. 341 // selected text on the renderer.
341 std::string selected_text_; 342 std::string selected_text_;
342 343
343 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 344 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
344 }; 345 };
345 346
346 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 347 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698