| 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 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 int32 width, | 338 int32 width, |
| 339 int32 height, | 339 int32 height, |
| 340 TransportDIB::Handle transport_dib); | 340 TransportDIB::Handle transport_dib); |
| 341 void AcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window, | 341 void AcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window, |
| 342 uint64 surface_id); | 342 uint64 surface_id); |
| 343 #endif | 343 #endif |
| 344 | 344 |
| 345 void RegisterPluginDelegate(WebPluginDelegateProxy* delegate); | 345 void RegisterPluginDelegate(WebPluginDelegateProxy* delegate); |
| 346 void UnregisterPluginDelegate(WebPluginDelegateProxy* delegate); | 346 void UnregisterPluginDelegate(WebPluginDelegateProxy* delegate); |
| 347 | 347 |
| 348 #if defined(OS_WIN) |
| 349 void ShowCompositorHostWindow(bool show); |
| 350 #endif |
| 351 |
| 348 // IPC::Channel::Listener implementation ------------------------------------- | 352 // IPC::Channel::Listener implementation ------------------------------------- |
| 349 | 353 |
| 350 virtual void OnMessageReceived(const IPC::Message& msg); | 354 virtual void OnMessageReceived(const IPC::Message& msg); |
| 351 | 355 |
| 352 // WebKit::WebWidgetClient implementation ------------------------------------ | 356 // WebKit::WebWidgetClient implementation ------------------------------------ |
| 353 | 357 |
| 354 // Most methods are handled by RenderWidget. | 358 // Most methods are handled by RenderWidget. |
| 355 virtual void didFocus(); | 359 virtual void didFocus(); |
| 356 virtual void didBlur(); | 360 virtual void didBlur(); |
| 357 virtual void show(WebKit::WebNavigationPolicy policy); | 361 virtual void show(WebKit::WebNavigationPolicy policy); |
| (...skipping 1053 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1411 // ADDING NEW DATA? Please see if it fits appropriately in one of the above | 1415 // ADDING NEW DATA? Please see if it fits appropriately in one of the above |
| 1412 // sections rather than throwing it randomly at the end. If you're adding a | 1416 // sections rather than throwing it randomly at the end. If you're adding a |
| 1413 // bunch of stuff, you should probably create a helper class and put your | 1417 // bunch of stuff, you should probably create a helper class and put your |
| 1414 // data and methods on that to avoid bloating RenderView more. | 1418 // data and methods on that to avoid bloating RenderView more. |
| 1415 // --------------------------------------------------------------------------- | 1419 // --------------------------------------------------------------------------- |
| 1416 | 1420 |
| 1417 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1421 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 1418 }; | 1422 }; |
| 1419 | 1423 |
| 1420 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 1424 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |