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

Side by Side Diff: chrome/renderer/render_view.h

Issue 3067026: Initial port of accelerated compositor to Mac OS X 10.6. Reused... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 months 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
« no previous file with comments | « chrome/renderer/gpu_channel_host.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_RENDERER_RENDER_VIEW_H_ 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_
6 #define CHROME_RENDERER_RENDER_VIEW_H_ 6 #define CHROME_RENDERER_RENDER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 280
281 // Asks the browser for the CPBrowsingContext associated with this renderer. 281 // Asks the browser for the CPBrowsingContext associated with this renderer.
282 // This is an opaque identifier associated with the renderer for sending 282 // This is an opaque identifier associated with the renderer for sending
283 // messages for the given "Chrome Plugin." The Chrome Plugin API is used 283 // messages for the given "Chrome Plugin." The Chrome Plugin API is used
284 // only by gears and this function can be deleted when we remove gears. 284 // only by gears and this function can be deleted when we remove gears.
285 uint32 GetCPBrowsingContext(); 285 uint32 GetCPBrowsingContext();
286 286
287 #if defined(OS_MACOSX) 287 #if defined(OS_MACOSX)
288 // Helper routines for GPU plugin support. Used by the 288 // Helper routines for GPU plugin support. Used by the
289 // WebPluginDelegateProxy, which has a pointer to the RenderView. 289 // WebPluginDelegateProxy, which has a pointer to the RenderView.
290 gfx::PluginWindowHandle AllocateFakePluginWindowHandle(bool opaque); 290 gfx::PluginWindowHandle AllocateFakePluginWindowHandle(bool opaque,
291 bool root);
291 void DestroyFakePluginWindowHandle(gfx::PluginWindowHandle window); 292 void DestroyFakePluginWindowHandle(gfx::PluginWindowHandle window);
292 void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, 293 void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window,
293 int32 width, 294 int32 width,
294 int32 height, 295 int32 height,
295 uint64 io_surface_identifier); 296 uint64 io_surface_identifier);
296 TransportDIB::Handle AcceleratedSurfaceAllocTransportDIB(size_t size); 297 TransportDIB::Handle AcceleratedSurfaceAllocTransportDIB(size_t size);
297 void AcceleratedSurfaceFreeTransportDIB(TransportDIB::Id dib_id); 298 void AcceleratedSurfaceFreeTransportDIB(TransportDIB::Id dib_id);
298 void AcceleratedSurfaceSetTransportDIB(gfx::PluginWindowHandle window, 299 void AcceleratedSurfaceSetTransportDIB(gfx::PluginWindowHandle window,
299 int32 width, 300 int32 width,
300 int32 height, 301 int32 height,
(...skipping 964 matching lines...) Expand 10 before | Expand all | Expand 10 after
1265 // ADDING NEW DATA? Please see if it fits appropriately in one of the above 1266 // ADDING NEW DATA? Please see if it fits appropriately in one of the above
1266 // sections rather than throwing it randomly at the end. If you're adding a 1267 // sections rather than throwing it randomly at the end. If you're adding a
1267 // bunch of stuff, you should probably create a helper class and put your 1268 // bunch of stuff, you should probably create a helper class and put your
1268 // data and methods on that to avoid bloating RenderView more. 1269 // data and methods on that to avoid bloating RenderView more.
1269 // --------------------------------------------------------------------------- 1270 // ---------------------------------------------------------------------------
1270 1271
1271 DISALLOW_COPY_AND_ASSIGN(RenderView); 1272 DISALLOW_COPY_AND_ASSIGN(RenderView);
1272 }; 1273 };
1273 1274
1274 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 1275 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/renderer/gpu_channel_host.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698