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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 virtual bool allowReadFromClipboard(WebKit::WebFrame* frame, | 103 virtual bool allowReadFromClipboard(WebKit::WebFrame* frame, |
104 bool default_value); | 104 bool default_value); |
105 virtual bool allowWriteToClipboard(WebKit::WebFrame* frame, | 105 virtual bool allowWriteToClipboard(WebKit::WebFrame* frame, |
106 bool default_value); | 106 bool default_value); |
107 virtual bool allowWebComponents(const WebKit::WebDocument&, bool); | 107 virtual bool allowWebComponents(const WebKit::WebDocument&, bool); |
108 virtual bool allowHTMLNotifications( | 108 virtual bool allowHTMLNotifications( |
109 const WebKit::WebDocument& document); | 109 const WebKit::WebDocument& document); |
110 virtual bool allowMutationEvents(const WebKit::WebDocument&, | 110 virtual bool allowMutationEvents(const WebKit::WebDocument&, |
111 bool default_value); | 111 bool default_value); |
112 virtual bool allowPushState(const WebKit::WebDocument&); | 112 virtual bool allowPushState(const WebKit::WebDocument&); |
| 113 virtual bool allowWebGLDebugRendererInfo(WebKit::WebFrame* frame); |
113 virtual void didNotAllowPlugins(WebKit::WebFrame* frame); | 114 virtual void didNotAllowPlugins(WebKit::WebFrame* frame); |
114 virtual void didNotAllowScript(WebKit::WebFrame* frame); | 115 virtual void didNotAllowScript(WebKit::WebFrame* frame); |
115 virtual bool allowDisplayingInsecureContent( | 116 virtual bool allowDisplayingInsecureContent( |
116 WebKit::WebFrame* frame, | 117 WebKit::WebFrame* frame, |
117 bool allowed_per_settings, | 118 bool allowed_per_settings, |
118 const WebKit::WebSecurityOrigin& context, | 119 const WebKit::WebSecurityOrigin& context, |
119 const WebKit::WebURL& url); | 120 const WebKit::WebURL& url); |
120 virtual bool allowRunningInsecureContent( | 121 virtual bool allowRunningInsecureContent( |
121 WebKit::WebFrame* frame, | 122 WebKit::WebFrame* frame, |
122 bool allowed_per_settings, | 123 bool allowed_per_settings, |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 // A color page overlay when visually de-emaphasized. | 207 // A color page overlay when visually de-emaphasized. |
207 scoped_ptr<WebViewColorOverlay> dimmed_color_overlay_; | 208 scoped_ptr<WebViewColorOverlay> dimmed_color_overlay_; |
208 | 209 |
209 // Used to delay calling CapturePageInfo. | 210 // Used to delay calling CapturePageInfo. |
210 base::Timer capture_timer_; | 211 base::Timer capture_timer_; |
211 | 212 |
212 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); | 213 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); |
213 }; | 214 }; |
214 | 215 |
215 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ | 216 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ |
OLD | NEW |