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 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 #include <queue> | 10 #include <queue> |
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 const WebKit::WebString& name, unsigned long long documentId); | 432 const WebKit::WebString& name, unsigned long long documentId); |
433 virtual WebKit::WebMediaPlayer* createMediaPlayer( | 433 virtual WebKit::WebMediaPlayer* createMediaPlayer( |
434 WebKit::WebFrame* frame, | 434 WebKit::WebFrame* frame, |
435 WebKit::WebMediaPlayerClient* client); | 435 WebKit::WebMediaPlayerClient* client); |
436 virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost( | 436 virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost( |
437 WebKit::WebFrame* frame, | 437 WebKit::WebFrame* frame, |
438 WebKit::WebApplicationCacheHostClient* client); | 438 WebKit::WebApplicationCacheHostClient* client); |
439 virtual WebKit::WebCookieJar* cookieJar(); | 439 virtual WebKit::WebCookieJar* cookieJar(); |
440 virtual void willClose(WebKit::WebFrame* frame); | 440 virtual void willClose(WebKit::WebFrame* frame); |
441 virtual bool allowImages(WebKit::WebFrame* frame, bool enabled_per_settings); | 441 virtual bool allowImages(WebKit::WebFrame* frame, bool enabled_per_settings); |
| 442 virtual bool allowPlugins(WebKit::WebFrame* frame, bool enabled_per_settings); |
442 virtual void loadURLExternally(WebKit::WebFrame* frame, | 443 virtual void loadURLExternally(WebKit::WebFrame* frame, |
443 const WebKit::WebURLRequest& request, | 444 const WebKit::WebURLRequest& request, |
444 WebKit::WebNavigationPolicy policy); | 445 WebKit::WebNavigationPolicy policy); |
445 virtual WebKit::WebNavigationPolicy decidePolicyForNavigation( | 446 virtual WebKit::WebNavigationPolicy decidePolicyForNavigation( |
446 WebKit::WebFrame* frame, | 447 WebKit::WebFrame* frame, |
447 const WebKit::WebURLRequest& request, | 448 const WebKit::WebURLRequest& request, |
448 WebKit::WebNavigationType type, | 449 WebKit::WebNavigationType type, |
449 const WebKit::WebNode&, | 450 const WebKit::WebNode&, |
450 WebKit::WebNavigationPolicy default_policy, | 451 WebKit::WebNavigationPolicy default_policy, |
451 bool is_redirect); | 452 bool is_redirect); |
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1267 // ADDING NEW DATA? Please see if it fits appropriately in one of the above | 1268 // ADDING NEW DATA? Please see if it fits appropriately in one of the above |
1268 // sections rather than throwing it randomly at the end. If you're adding a | 1269 // sections rather than throwing it randomly at the end. If you're adding a |
1269 // bunch of stuff, you should probably create a helper class and put your | 1270 // bunch of stuff, you should probably create a helper class and put your |
1270 // data and methods on that to avoid bloating RenderView more. | 1271 // data and methods on that to avoid bloating RenderView more. |
1271 // --------------------------------------------------------------------------- | 1272 // --------------------------------------------------------------------------- |
1272 | 1273 |
1273 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1274 DISALLOW_COPY_AND_ASSIGN(RenderView); |
1274 }; | 1275 }; |
1275 | 1276 |
1276 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 1277 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |