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 CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ | 5 #ifndef CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ |
6 #define CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ | 6 #define CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 virtual bool allowPlugins(WebKit::WebFrame* frame, | 89 virtual bool allowPlugins(WebKit::WebFrame* frame, |
90 bool enabled_per_settings) OVERRIDE; | 90 bool enabled_per_settings) OVERRIDE; |
91 virtual bool allowScript(WebKit::WebFrame* frame, | 91 virtual bool allowScript(WebKit::WebFrame* frame, |
92 bool enabled_per_settings) OVERRIDE; | 92 bool enabled_per_settings) OVERRIDE; |
93 virtual bool allowScriptFromSource(WebKit::WebFrame* frame, | 93 virtual bool allowScriptFromSource(WebKit::WebFrame* frame, |
94 bool enabled_per_settings, | 94 bool enabled_per_settings, |
95 const WebKit::WebURL& script_url) OVERRIDE; | 95 const WebKit::WebURL& script_url) OVERRIDE; |
96 virtual bool allowScriptExtension(WebKit::WebFrame* frame, | 96 virtual bool allowScriptExtension(WebKit::WebFrame* frame, |
97 const WebKit::WebString& extension_name, | 97 const WebKit::WebString& extension_name, |
98 int extension_group) OVERRIDE; | 98 int extension_group) OVERRIDE; |
| 99 virtual bool allowScriptExtension(WebKit::WebFrame* frame, |
| 100 const WebKit::WebString& extension_name, |
| 101 int extension_group, |
| 102 int world_id); |
99 virtual bool allowStorage(WebKit::WebFrame* frame, bool local) OVERRIDE; | 103 virtual bool allowStorage(WebKit::WebFrame* frame, bool local) OVERRIDE; |
100 virtual bool allowReadFromClipboard(WebKit::WebFrame* frame, | 104 virtual bool allowReadFromClipboard(WebKit::WebFrame* frame, |
101 bool default_value) OVERRIDE; | 105 bool default_value) OVERRIDE; |
102 virtual bool allowWriteToClipboard(WebKit::WebFrame* frame, | 106 virtual bool allowWriteToClipboard(WebKit::WebFrame* frame, |
103 bool default_value) OVERRIDE; | 107 bool default_value) OVERRIDE; |
104 virtual void didNotAllowPlugins(WebKit::WebFrame* frame) OVERRIDE; | 108 virtual void didNotAllowPlugins(WebKit::WebFrame* frame) OVERRIDE; |
105 virtual void didNotAllowScript(WebKit::WebFrame* frame) OVERRIDE; | 109 virtual void didNotAllowScript(WebKit::WebFrame* frame) OVERRIDE; |
106 virtual bool allowDisplayingInsecureContent( | 110 virtual bool allowDisplayingInsecureContent( |
107 WebKit::WebFrame* frame, | 111 WebKit::WebFrame* frame, |
108 bool allowed_per_settings, | 112 bool allowed_per_settings, |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 // ImageResourceFetchers schedule via DownloadImage. | 228 // ImageResourceFetchers schedule via DownloadImage. |
225 ImageResourceFetcherList image_fetchers_; | 229 ImageResourceFetcherList image_fetchers_; |
226 | 230 |
227 // A color page overlay when visually de-emaphasized. | 231 // A color page overlay when visually de-emaphasized. |
228 scoped_ptr<WebViewColorOverlay> dimmed_color_overlay_; | 232 scoped_ptr<WebViewColorOverlay> dimmed_color_overlay_; |
229 | 233 |
230 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); | 234 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); |
231 }; | 235 }; |
232 | 236 |
233 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ | 237 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ |
OLD | NEW |