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

Side by Side Diff: chrome/browser/renderer_host/render_widget_host_view.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #if defined(OS_MACOSX) 9 #if defined(OS_MACOSX)
10 #include <OpenGL/OpenGL.h> 10 #include <OpenGL/OpenGL.h>
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 gfx::PluginWindowHandle window, 222 gfx::PluginWindowHandle window,
223 int32 width, 223 int32 width,
224 int32 height, 224 int32 height,
225 uint64 io_surface_identifier) = 0; 225 uint64 io_surface_identifier) = 0;
226 virtual void AcceleratedSurfaceSetTransportDIB( 226 virtual void AcceleratedSurfaceSetTransportDIB(
227 gfx::PluginWindowHandle window, 227 gfx::PluginWindowHandle window,
228 int32 width, 228 int32 width,
229 int32 height, 229 int32 height,
230 TransportDIB::Handle transport_dib) = 0; 230 TransportDIB::Handle transport_dib) = 0;
231 virtual void AcceleratedSurfaceBuffersSwapped( 231 virtual void AcceleratedSurfaceBuffersSwapped(
232 gfx::PluginWindowHandle window) = 0; 232 gfx::PluginWindowHandle window, uint64 surface_id) = 0;
233 virtual void GpuRenderingStateDidChange() = 0; 233 virtual void GpuRenderingStateDidChange() = 0;
234 #endif 234 #endif
235 235
236 #if defined(TOOLKIT_USES_GTK) 236 #if defined(TOOLKIT_USES_GTK)
237 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; 237 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0;
238 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; 238 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0;
239 #endif 239 #endif
240 240
241 // Toggles visual muting of the render view area. This is on when a 241 // Toggles visual muting of the render view area. This is on when a
242 // constrained window is showing. 242 // constrained window is showing.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 274
275 // A custom background to paint behind the web content. This will be tiled 275 // A custom background to paint behind the web content. This will be tiled
276 // horizontally. Can be null, in which case we fall back to painting white. 276 // horizontally. Can be null, in which case we fall back to painting white.
277 SkBitmap background_; 277 SkBitmap background_;
278 278
279 private: 279 private:
280 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView); 280 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView);
281 }; 281 };
282 282
283 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ 283 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698