| 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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, | 325 void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, |
| 326 int32 width, | 326 int32 width, |
| 327 int32 height, | 327 int32 height, |
| 328 uint64 io_surface_identifier); | 328 uint64 io_surface_identifier); |
| 329 TransportDIB::Handle AcceleratedSurfaceAllocTransportDIB(size_t size); | 329 TransportDIB::Handle AcceleratedSurfaceAllocTransportDIB(size_t size); |
| 330 void AcceleratedSurfaceFreeTransportDIB(TransportDIB::Id dib_id); | 330 void AcceleratedSurfaceFreeTransportDIB(TransportDIB::Id dib_id); |
| 331 void AcceleratedSurfaceSetTransportDIB(gfx::PluginWindowHandle window, | 331 void AcceleratedSurfaceSetTransportDIB(gfx::PluginWindowHandle window, |
| 332 int32 width, | 332 int32 width, |
| 333 int32 height, | 333 int32 height, |
| 334 TransportDIB::Handle transport_dib); | 334 TransportDIB::Handle transport_dib); |
| 335 void AcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window); | 335 void AcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window, |
| 336 uint64 surface_id); |
| 336 #endif | 337 #endif |
| 337 | 338 |
| 338 void RegisterPluginDelegate(WebPluginDelegateProxy* delegate); | 339 void RegisterPluginDelegate(WebPluginDelegateProxy* delegate); |
| 339 void UnregisterPluginDelegate(WebPluginDelegateProxy* delegate); | 340 void UnregisterPluginDelegate(WebPluginDelegateProxy* delegate); |
| 340 | 341 |
| 341 // IPC::Channel::Listener implementation ------------------------------------- | 342 // IPC::Channel::Listener implementation ------------------------------------- |
| 342 | 343 |
| 343 virtual void OnMessageReceived(const IPC::Message& msg); | 344 virtual void OnMessageReceived(const IPC::Message& msg); |
| 344 | 345 |
| 345 // WebKit::WebWidgetClient implementation ------------------------------------ | 346 // WebKit::WebWidgetClient implementation ------------------------------------ |
| (...skipping 1055 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1401 // ADDING NEW DATA? Please see if it fits appropriately in one of the above | 1402 // ADDING NEW DATA? Please see if it fits appropriately in one of the above |
| 1402 // sections rather than throwing it randomly at the end. If you're adding a | 1403 // sections rather than throwing it randomly at the end. If you're adding a |
| 1403 // bunch of stuff, you should probably create a helper class and put your | 1404 // bunch of stuff, you should probably create a helper class and put your |
| 1404 // data and methods on that to avoid bloating RenderView more. | 1405 // data and methods on that to avoid bloating RenderView more. |
| 1405 // --------------------------------------------------------------------------- | 1406 // --------------------------------------------------------------------------- |
| 1406 | 1407 |
| 1407 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1408 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 1408 }; | 1409 }; |
| 1409 | 1410 |
| 1410 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 1411 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |