| OLD | NEW |
| 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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 | 277 |
| 278 // Asks the browser for the CPBrowsingContext associated with this renderer. | 278 // Asks the browser for the CPBrowsingContext associated with this renderer. |
| 279 // This is an opaque identifier associated with the renderer for sending | 279 // This is an opaque identifier associated with the renderer for sending |
| 280 // messages for the given "Chrome Plugin." The Chrome Plugin API is used | 280 // messages for the given "Chrome Plugin." The Chrome Plugin API is used |
| 281 // only by gears and this function can be deleted when we remove gears. | 281 // only by gears and this function can be deleted when we remove gears. |
| 282 uint32 GetCPBrowsingContext(); | 282 uint32 GetCPBrowsingContext(); |
| 283 | 283 |
| 284 #if defined(OS_MACOSX) | 284 #if defined(OS_MACOSX) |
| 285 // Helper routines for GPU plugin support. Used by the | 285 // Helper routines for GPU plugin support. Used by the |
| 286 // WebPluginDelegateProxy, which has a pointer to the RenderView. | 286 // WebPluginDelegateProxy, which has a pointer to the RenderView. |
| 287 gfx::PluginWindowHandle AllocateFakePluginWindowHandle(bool opaque, | 287 gfx::PluginWindowHandle AllocateFakePluginWindowHandle( |
| 288 bool root); | 288 bool opaque, bool can_draw_transparent, bool root); |
| 289 void DestroyFakePluginWindowHandle(gfx::PluginWindowHandle window); | 289 void DestroyFakePluginWindowHandle(gfx::PluginWindowHandle window); |
| 290 void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, | 290 void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, |
| 291 int32 width, | 291 int32 width, |
| 292 int32 height, | 292 int32 height, |
| 293 uint64 io_surface_identifier); | 293 uint64 io_surface_identifier); |
| 294 TransportDIB::Handle AcceleratedSurfaceAllocTransportDIB(size_t size); | 294 TransportDIB::Handle AcceleratedSurfaceAllocTransportDIB(size_t size); |
| 295 void AcceleratedSurfaceFreeTransportDIB(TransportDIB::Id dib_id); | 295 void AcceleratedSurfaceFreeTransportDIB(TransportDIB::Id dib_id); |
| 296 void AcceleratedSurfaceSetTransportDIB(gfx::PluginWindowHandle window, | 296 void AcceleratedSurfaceSetTransportDIB(gfx::PluginWindowHandle window, |
| 297 int32 width, | 297 int32 width, |
| 298 int32 height, | 298 int32 height, |
| (...skipping 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1308 // ADDING NEW DATA? Please see if it fits appropriately in one of the above | 1308 // ADDING NEW DATA? Please see if it fits appropriately in one of the above |
| 1309 // sections rather than throwing it randomly at the end. If you're adding a | 1309 // sections rather than throwing it randomly at the end. If you're adding a |
| 1310 // bunch of stuff, you should probably create a helper class and put your | 1310 // bunch of stuff, you should probably create a helper class and put your |
| 1311 // data and methods on that to avoid bloating RenderView more. | 1311 // data and methods on that to avoid bloating RenderView more. |
| 1312 // --------------------------------------------------------------------------- | 1312 // --------------------------------------------------------------------------- |
| 1313 | 1313 |
| 1314 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1314 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 1315 }; | 1315 }; |
| 1316 | 1316 |
| 1317 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 1317 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |