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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 virtual bool allowStorage(WebKit::WebFrame* frame, bool local) OVERRIDE; | 106 virtual bool allowStorage(WebKit::WebFrame* frame, bool local) OVERRIDE; |
107 virtual bool allowReadFromClipboard(WebKit::WebFrame* frame, | 107 virtual bool allowReadFromClipboard(WebKit::WebFrame* frame, |
108 bool default_value) OVERRIDE; | 108 bool default_value) OVERRIDE; |
109 virtual bool allowWriteToClipboard(WebKit::WebFrame* frame, | 109 virtual bool allowWriteToClipboard(WebKit::WebFrame* frame, |
110 bool default_value) OVERRIDE; | 110 bool default_value) OVERRIDE; |
111 virtual bool allowWebComponents(const WebKit::WebDocument&, bool) OVERRIDE; | 111 virtual bool allowWebComponents(const WebKit::WebDocument&, bool) OVERRIDE; |
112 virtual bool allowHTMLNotifications( | 112 virtual bool allowHTMLNotifications( |
113 const WebKit::WebDocument& document) OVERRIDE; | 113 const WebKit::WebDocument& document) OVERRIDE; |
114 virtual bool allowMutationEvents(const WebKit::WebDocument&, | 114 virtual bool allowMutationEvents(const WebKit::WebDocument&, |
115 bool default_value) OVERRIDE; | 115 bool default_value) OVERRIDE; |
| 116 virtual bool allowPushState(const WebKit::WebDocument&) OVERRIDE; |
116 virtual void didNotAllowPlugins(WebKit::WebFrame* frame) OVERRIDE; | 117 virtual void didNotAllowPlugins(WebKit::WebFrame* frame) OVERRIDE; |
117 virtual void didNotAllowScript(WebKit::WebFrame* frame) OVERRIDE; | 118 virtual void didNotAllowScript(WebKit::WebFrame* frame) OVERRIDE; |
118 virtual bool allowDisplayingInsecureContent( | 119 virtual bool allowDisplayingInsecureContent( |
119 WebKit::WebFrame* frame, | 120 WebKit::WebFrame* frame, |
120 bool allowed_per_settings, | 121 bool allowed_per_settings, |
121 const WebKit::WebSecurityOrigin& context, | 122 const WebKit::WebSecurityOrigin& context, |
122 const WebKit::WebURL& url) OVERRIDE; | 123 const WebKit::WebURL& url) OVERRIDE; |
123 virtual bool allowRunningInsecureContent( | 124 virtual bool allowRunningInsecureContent( |
124 WebKit::WebFrame* frame, | 125 WebKit::WebFrame* frame, |
125 bool allowed_per_settings, | 126 bool allowed_per_settings, |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 // A color page overlay when visually de-emaphasized. | 229 // A color page overlay when visually de-emaphasized. |
229 scoped_ptr<WebViewColorOverlay> dimmed_color_overlay_; | 230 scoped_ptr<WebViewColorOverlay> dimmed_color_overlay_; |
230 | 231 |
231 // Used to delay calling CapturePageInfo. | 232 // Used to delay calling CapturePageInfo. |
232 base::Timer capture_timer_; | 233 base::Timer capture_timer_; |
233 | 234 |
234 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); | 235 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); |
235 }; | 236 }; |
236 | 237 |
237 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ | 238 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ |
OLD | NEW |