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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 void UnregisterPluginDelegate(WebPluginDelegateProxy* delegate); | 301 void UnregisterPluginDelegate(WebPluginDelegateProxy* delegate); |
302 #endif | 302 #endif |
303 | 303 |
304 // IPC::Channel::Listener implementation ------------------------------------- | 304 // IPC::Channel::Listener implementation ------------------------------------- |
305 | 305 |
306 virtual void OnMessageReceived(const IPC::Message& msg); | 306 virtual void OnMessageReceived(const IPC::Message& msg); |
307 | 307 |
308 // WebKit::WebWidgetClient implementation ------------------------------------ | 308 // WebKit::WebWidgetClient implementation ------------------------------------ |
309 | 309 |
310 // Most methods are handled by RenderWidget. | 310 // Most methods are handled by RenderWidget. |
| 311 virtual void didFocus(); |
| 312 virtual void didBlur(); |
311 virtual void show(WebKit::WebNavigationPolicy policy); | 313 virtual void show(WebKit::WebNavigationPolicy policy); |
312 virtual void closeWidgetSoon(); | 314 virtual void closeWidgetSoon(); |
313 virtual void runModal(); | 315 virtual void runModal(); |
314 | 316 |
315 // WebKit::WebViewClient implementation -------------------------------------- | 317 // WebKit::WebViewClient implementation -------------------------------------- |
316 | 318 |
317 virtual WebKit::WebView* createView( | 319 virtual WebKit::WebView* createView( |
318 WebKit::WebFrame* creator, | 320 WebKit::WebFrame* creator, |
319 const WebKit::WebWindowFeatures& features, | 321 const WebKit::WebWindowFeatures& features, |
320 const WebKit::WebString& frame_name); | 322 const WebKit::WebString& frame_name); |
(...skipping 971 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1292 // ADDING NEW DATA? Please see if it fits appropriately in one of the above | 1294 // ADDING NEW DATA? Please see if it fits appropriately in one of the above |
1293 // sections rather than throwing it randomly at the end. If you're adding a | 1295 // sections rather than throwing it randomly at the end. If you're adding a |
1294 // bunch of stuff, you should probably create a helper class and put your | 1296 // bunch of stuff, you should probably create a helper class and put your |
1295 // data and methods on that to avoid bloating RenderView more. | 1297 // data and methods on that to avoid bloating RenderView more. |
1296 // --------------------------------------------------------------------------- | 1298 // --------------------------------------------------------------------------- |
1297 | 1299 |
1298 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1300 DISALLOW_COPY_AND_ASSIGN(RenderView); |
1299 }; | 1301 }; |
1300 | 1302 |
1301 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 1303 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |