OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 virtual bool allowScriptExtension(WebKit::WebFrame* frame, | 98 virtual bool allowScriptExtension(WebKit::WebFrame* frame, |
99 const WebKit::WebString& extension_name, | 99 const WebKit::WebString& extension_name, |
100 int extension_group, | 100 int extension_group, |
101 int world_id); | 101 int world_id); |
102 virtual bool allowStorage(WebKit::WebFrame* frame, bool local) OVERRIDE; | 102 virtual bool allowStorage(WebKit::WebFrame* frame, bool local) OVERRIDE; |
103 virtual bool allowReadFromClipboard(WebKit::WebFrame* frame, | 103 virtual bool allowReadFromClipboard(WebKit::WebFrame* frame, |
104 bool default_value) OVERRIDE; | 104 bool default_value) OVERRIDE; |
105 virtual bool allowWriteToClipboard(WebKit::WebFrame* frame, | 105 virtual bool allowWriteToClipboard(WebKit::WebFrame* frame, |
106 bool default_value) OVERRIDE; | 106 bool default_value) OVERRIDE; |
107 virtual bool allowWebComponents(const WebKit::WebDocument&, bool) OVERRIDE; | 107 virtual bool allowWebComponents(const WebKit::WebDocument&, bool) OVERRIDE; |
| 108 virtual bool allowHTMLNotifications( |
| 109 const WebKit::WebDocument& document) OVERRIDE; |
108 virtual void didNotAllowPlugins(WebKit::WebFrame* frame) OVERRIDE; | 110 virtual void didNotAllowPlugins(WebKit::WebFrame* frame) OVERRIDE; |
109 virtual void didNotAllowScript(WebKit::WebFrame* frame) OVERRIDE; | 111 virtual void didNotAllowScript(WebKit::WebFrame* frame) OVERRIDE; |
110 virtual bool allowDisplayingInsecureContent( | 112 virtual bool allowDisplayingInsecureContent( |
111 WebKit::WebFrame* frame, | 113 WebKit::WebFrame* frame, |
112 bool allowed_per_settings, | 114 bool allowed_per_settings, |
113 const WebKit::WebSecurityOrigin& context, | 115 const WebKit::WebSecurityOrigin& context, |
114 const WebKit::WebURL& url) OVERRIDE; | 116 const WebKit::WebURL& url) OVERRIDE; |
115 virtual bool allowRunningInsecureContent( | 117 virtual bool allowRunningInsecureContent( |
116 WebKit::WebFrame* frame, | 118 WebKit::WebFrame* frame, |
117 bool allowed_per_settings, | 119 bool allowed_per_settings, |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 // A color page overlay when visually de-emaphasized. | 227 // A color page overlay when visually de-emaphasized. |
226 scoped_ptr<WebViewColorOverlay> dimmed_color_overlay_; | 228 scoped_ptr<WebViewColorOverlay> dimmed_color_overlay_; |
227 | 229 |
228 // Used to delay calling CapturePageInfo. | 230 // Used to delay calling CapturePageInfo. |
229 base::Timer capture_timer_; | 231 base::Timer capture_timer_; |
230 | 232 |
231 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); | 233 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); |
232 }; | 234 }; |
233 | 235 |
234 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ | 236 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ |
OLD | NEW |