OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_RENDERER_RENDER_VIEW_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_H_ |
6 #define CONTENT_RENDERER_RENDER_VIEW_H_ | 6 #define CONTENT_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 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 WebKit::WebMediaPlayerClient* client); | 445 WebKit::WebMediaPlayerClient* client); |
446 virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost( | 446 virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost( |
447 WebKit::WebFrame* frame, | 447 WebKit::WebFrame* frame, |
448 WebKit::WebApplicationCacheHostClient* client); | 448 WebKit::WebApplicationCacheHostClient* client); |
449 virtual WebKit::WebCookieJar* cookieJar(WebKit::WebFrame* frame); | 449 virtual WebKit::WebCookieJar* cookieJar(WebKit::WebFrame* frame); |
450 virtual void frameDetached(WebKit::WebFrame* frame); | 450 virtual void frameDetached(WebKit::WebFrame* frame); |
451 virtual void willClose(WebKit::WebFrame* frame); | 451 virtual void willClose(WebKit::WebFrame* frame); |
452 virtual void loadURLExternally(WebKit::WebFrame* frame, | 452 virtual void loadURLExternally(WebKit::WebFrame* frame, |
453 const WebKit::WebURLRequest& request, | 453 const WebKit::WebURLRequest& request, |
454 WebKit::WebNavigationPolicy policy); | 454 WebKit::WebNavigationPolicy policy); |
| 455 virtual void loadURLExternally(WebKit::WebFrame* frame, |
| 456 const WebKit::WebURLRequest& request, |
| 457 WebKit::WebNavigationPolicy policy, |
| 458 const WebKit::WebString& suggested_name); |
455 virtual WebKit::WebNavigationPolicy decidePolicyForNavigation( | 459 virtual WebKit::WebNavigationPolicy decidePolicyForNavigation( |
456 WebKit::WebFrame* frame, | 460 WebKit::WebFrame* frame, |
457 const WebKit::WebURLRequest& request, | 461 const WebKit::WebURLRequest& request, |
458 WebKit::WebNavigationType type, | 462 WebKit::WebNavigationType type, |
459 const WebKit::WebNode&, | 463 const WebKit::WebNode&, |
460 WebKit::WebNavigationPolicy default_policy, | 464 WebKit::WebNavigationPolicy default_policy, |
461 bool is_redirect); | 465 bool is_redirect); |
462 virtual bool canHandleRequest(WebKit::WebFrame* frame, | 466 virtual bool canHandleRequest(WebKit::WebFrame* frame, |
463 const WebKit::WebURLRequest& request); | 467 const WebKit::WebURLRequest& request); |
464 virtual WebKit::WebURLError cannotHandleRequestError( | 468 virtual WebKit::WebURLError cannotHandleRequestError( |
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1173 // bunch of stuff, you should probably create a helper class and put your | 1177 // bunch of stuff, you should probably create a helper class and put your |
1174 // data and methods on that to avoid bloating RenderView more. You can use | 1178 // data and methods on that to avoid bloating RenderView more. You can use |
1175 // the Observer interface to filter IPC messages and receive frame change | 1179 // the Observer interface to filter IPC messages and receive frame change |
1176 // notifications. | 1180 // notifications. |
1177 // --------------------------------------------------------------------------- | 1181 // --------------------------------------------------------------------------- |
1178 | 1182 |
1179 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1183 DISALLOW_COPY_AND_ASSIGN(RenderView); |
1180 }; | 1184 }; |
1181 | 1185 |
1182 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ | 1186 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |