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(); |
313 virtual void show(WebKit::WebNavigationPolicy policy); | 315 virtual void show(WebKit::WebNavigationPolicy policy); |
314 virtual void closeWidgetSoon(); | 316 virtual void closeWidgetSoon(); |
315 virtual void runModal(); | 317 virtual void runModal(); |
316 | 318 |
317 // WebKit::WebViewClient implementation -------------------------------------- | 319 // WebKit::WebViewClient implementation -------------------------------------- |
318 | 320 |
319 virtual WebKit::WebView* createView( | 321 virtual WebKit::WebView* createView( |
320 WebKit::WebFrame* creator, | 322 WebKit::WebFrame* creator, |
321 const WebKit::WebWindowFeatures& features, | 323 const WebKit::WebWindowFeatures& features, |
322 const WebKit::WebString& frame_name); | 324 const WebKit::WebString& frame_name); |
(...skipping 985 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1308 // ADDING NEW DATA? Please see if it fits appropriately in one of the above | 1310 // ADDING NEW DATA? Please see if it fits appropriately in one of the above |
1309 // sections rather than throwing it randomly at the end. If you're adding a | 1311 // sections rather than throwing it randomly at the end. If you're adding a |
1310 // bunch of stuff, you should probably create a helper class and put your | 1312 // bunch of stuff, you should probably create a helper class and put your |
1311 // data and methods on that to avoid bloating RenderView more. | 1313 // data and methods on that to avoid bloating RenderView more. |
1312 // --------------------------------------------------------------------------- | 1314 // --------------------------------------------------------------------------- |
1313 | 1315 |
1314 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1316 DISALLOW_COPY_AND_ASSIGN(RenderView); |
1315 }; | 1317 }; |
1316 | 1318 |
1317 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 1319 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |