OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 WebKit::WebFrame* frame, unsigned identifier); | 343 WebKit::WebFrame* frame, unsigned identifier); |
344 virtual void didFailResourceLoad( | 344 virtual void didFailResourceLoad( |
345 WebKit::WebFrame* frame, unsigned identifier, | 345 WebKit::WebFrame* frame, unsigned identifier, |
346 const WebKit::WebURLError& error); | 346 const WebKit::WebURLError& error); |
347 virtual void didLoadResourceFromMemoryCache( | 347 virtual void didLoadResourceFromMemoryCache( |
348 WebKit::WebFrame* frame, const WebKit::WebURLRequest& request, | 348 WebKit::WebFrame* frame, const WebKit::WebURLRequest& request, |
349 const WebKit::WebURLResponse&); | 349 const WebKit::WebURLResponse&); |
350 virtual void didDisplayInsecureContent(WebKit::WebFrame* frame); | 350 virtual void didDisplayInsecureContent(WebKit::WebFrame* frame); |
351 virtual void didRunInsecureContent( | 351 virtual void didRunInsecureContent( |
352 WebKit::WebFrame* frame, const WebKit::WebSecurityOrigin& origin); | 352 WebKit::WebFrame* frame, const WebKit::WebSecurityOrigin& origin); |
| 353 virtual bool allowScript(WebKit::WebFrame* frame, bool enabled_per_settings); |
353 virtual void didExhaustMemoryAvailableForScript(WebKit::WebFrame* frame); | 354 virtual void didExhaustMemoryAvailableForScript(WebKit::WebFrame* frame); |
354 virtual void didCreateScriptContext(WebKit::WebFrame* frame); | 355 virtual void didCreateScriptContext(WebKit::WebFrame* frame); |
355 virtual void didDestroyScriptContext(WebKit::WebFrame* frame); | 356 virtual void didDestroyScriptContext(WebKit::WebFrame* frame); |
356 virtual void didCreateIsolatedScriptContext(WebKit::WebFrame* frame); | 357 virtual void didCreateIsolatedScriptContext(WebKit::WebFrame* frame); |
357 virtual void didChangeContentsSize( | 358 virtual void didChangeContentsSize( |
358 WebKit::WebFrame* frame, const WebKit::WebSize& size); | 359 WebKit::WebFrame* frame, const WebKit::WebSize& size); |
359 virtual void reportFindInPageMatchCount( | 360 virtual void reportFindInPageMatchCount( |
360 int request_id, int count, bool final_update); | 361 int request_id, int count, bool final_update); |
361 virtual void reportFindInPageSelection( | 362 virtual void reportFindInPageSelection( |
362 int request_id, int active_match_ordinal, const WebKit::WebRect& sel); | 363 int request_id, int active_match_ordinal, const WebKit::WebRect& sel); |
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
998 // ImageResourceFetchers schedule via DownloadImage. | 999 // ImageResourceFetchers schedule via DownloadImage. |
999 typedef std::set<webkit_glue::ImageResourceFetcher*> ImageResourceFetcherSet; | 1000 typedef std::set<webkit_glue::ImageResourceFetcher*> ImageResourceFetcherSet; |
1000 ImageResourceFetcherSet image_fetchers_; | 1001 ImageResourceFetcherSet image_fetchers_; |
1001 | 1002 |
1002 typedef std::map<WebKit::WebView*, RenderView*> ViewMap; | 1003 typedef std::map<WebKit::WebView*, RenderView*> ViewMap; |
1003 | 1004 |
1004 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1005 DISALLOW_COPY_AND_ASSIGN(RenderView); |
1005 }; | 1006 }; |
1006 | 1007 |
1007 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 1008 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |