| 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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 void UnregisterPluginDelegate(WebPluginDelegateProxy* delegate); | 303 void UnregisterPluginDelegate(WebPluginDelegateProxy* delegate); |
| 304 #endif | 304 #endif |
| 305 | 305 |
| 306 // IPC::Channel::Listener implementation ------------------------------------- | 306 // IPC::Channel::Listener implementation ------------------------------------- |
| 307 | 307 |
| 308 virtual void OnMessageReceived(const IPC::Message& msg); | 308 virtual void OnMessageReceived(const IPC::Message& msg); |
| 309 | 309 |
| 310 // WebKit::WebWidgetClient implementation ------------------------------------ | 310 // WebKit::WebWidgetClient implementation ------------------------------------ |
| 311 | 311 |
| 312 // Most methods are handled by RenderWidget. | 312 // Most methods are handled by RenderWidget. |
| 313 virtual void didFocus(); | |
| 314 virtual void didBlur(); | |
| 315 virtual void show(WebKit::WebNavigationPolicy policy); | 313 virtual void show(WebKit::WebNavigationPolicy policy); |
| 316 virtual void closeWidgetSoon(); | 314 virtual void closeWidgetSoon(); |
| 317 virtual void runModal(); | 315 virtual void runModal(); |
| 318 | 316 |
| 319 // WebKit::WebViewClient implementation -------------------------------------- | 317 // WebKit::WebViewClient implementation -------------------------------------- |
| 320 | 318 |
| 321 virtual WebKit::WebView* createView( | 319 virtual WebKit::WebView* createView( |
| 322 WebKit::WebFrame* creator, | 320 WebKit::WebFrame* creator, |
| 323 const WebKit::WebWindowFeatures& features, | 321 const WebKit::WebWindowFeatures& features, |
| 324 const WebKit::WebString& frame_name); | 322 const WebKit::WebString& frame_name); |
| (...skipping 985 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1310 // 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 |
| 1311 // 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 |
| 1312 // 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 |
| 1313 // data and methods on that to avoid bloating RenderView more. | 1311 // data and methods on that to avoid bloating RenderView more. |
| 1314 // --------------------------------------------------------------------------- | 1312 // --------------------------------------------------------------------------- |
| 1315 | 1313 |
| 1316 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1314 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 1317 }; | 1315 }; |
| 1318 | 1316 |
| 1319 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 1317 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |