| 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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 TransportDIB::Handle transport_dib); | 381 TransportDIB::Handle transport_dib); |
| 382 void AcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window, | 382 void AcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window, |
| 383 uint64 surface_id); | 383 uint64 surface_id); |
| 384 #endif | 384 #endif |
| 385 | 385 |
| 386 void RegisterPluginDelegate(WebPluginDelegateProxy* delegate); | 386 void RegisterPluginDelegate(WebPluginDelegateProxy* delegate); |
| 387 void UnregisterPluginDelegate(WebPluginDelegateProxy* delegate); | 387 void UnregisterPluginDelegate(WebPluginDelegateProxy* delegate); |
| 388 | 388 |
| 389 // IPC::Channel::Listener implementation ------------------------------------- | 389 // IPC::Channel::Listener implementation ------------------------------------- |
| 390 | 390 |
| 391 virtual void OnMessageReceived(const IPC::Message& msg); | 391 virtual bool OnMessageReceived(const IPC::Message& msg); |
| 392 | 392 |
| 393 // WebKit::WebWidgetClient implementation ------------------------------------ | 393 // WebKit::WebWidgetClient implementation ------------------------------------ |
| 394 | 394 |
| 395 // Most methods are handled by RenderWidget. | 395 // Most methods are handled by RenderWidget. |
| 396 virtual void didFocus(); | 396 virtual void didFocus(); |
| 397 virtual void didBlur(); | 397 virtual void didBlur(); |
| 398 virtual void show(WebKit::WebNavigationPolicy policy); | 398 virtual void show(WebKit::WebNavigationPolicy policy); |
| 399 virtual void closeWidgetSoon(); | 399 virtual void closeWidgetSoon(); |
| 400 virtual void runModal(); | 400 virtual void runModal(); |
| 401 | 401 |
| (...skipping 1107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1509 // ADDING NEW DATA? Please see if it fits appropriately in one of the above | 1509 // ADDING NEW DATA? Please see if it fits appropriately in one of the above |
| 1510 // sections rather than throwing it randomly at the end. If you're adding a | 1510 // sections rather than throwing it randomly at the end. If you're adding a |
| 1511 // bunch of stuff, you should probably create a helper class and put your | 1511 // bunch of stuff, you should probably create a helper class and put your |
| 1512 // data and methods on that to avoid bloating RenderView more. | 1512 // data and methods on that to avoid bloating RenderView more. |
| 1513 // --------------------------------------------------------------------------- | 1513 // --------------------------------------------------------------------------- |
| 1514 | 1514 |
| 1515 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1515 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 1516 }; | 1516 }; |
| 1517 | 1517 |
| 1518 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 1518 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |