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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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_ |
OLD | NEW |