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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 WebKit::WebFrame* frame, | 105 WebKit::WebFrame* frame, |
106 bool allowed_per_settings, | 106 bool allowed_per_settings, |
107 const WebKit::WebSecurityOrigin& context, | 107 const WebKit::WebSecurityOrigin& context, |
108 const WebKit::WebURL& url) OVERRIDE; | 108 const WebKit::WebURL& url) OVERRIDE; |
109 virtual bool allowRunningInsecureContent( | 109 virtual bool allowRunningInsecureContent( |
110 WebKit::WebFrame* frame, | 110 WebKit::WebFrame* frame, |
111 bool allowed_per_settings, | 111 bool allowed_per_settings, |
112 const WebKit::WebSecurityOrigin& context, | 112 const WebKit::WebSecurityOrigin& context, |
113 const WebKit::WebURL& url) OVERRIDE; | 113 const WebKit::WebURL& url) OVERRIDE; |
114 virtual void Navigate(const GURL& url) OVERRIDE; | 114 virtual void Navigate(const GURL& url) OVERRIDE; |
| 115 virtual void SetAsInterstitial() OVERRIDE; |
115 | 116 |
116 void OnWebUIJavaScript(const string16& frame_xpath, | 117 void OnWebUIJavaScript(const string16& frame_xpath, |
117 const string16& jscript, | 118 const string16& jscript, |
118 int id, | 119 int id, |
119 bool notify_result); | 120 bool notify_result); |
120 void OnCaptureSnapshot(); | 121 void OnCaptureSnapshot(); |
121 void OnHandleMessageFromExternalHost(const std::string& message, | 122 void OnHandleMessageFromExternalHost(const std::string& message, |
122 const std::string& origin, | 123 const std::string& origin, |
123 const std::string& target); | 124 const std::string& target); |
124 void OnJavaScriptStressTestControl(int cmd, int param); | 125 void OnJavaScriptStressTestControl(int cmd, int param); |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 typedef std::vector<linked_ptr<webkit_glue::ImageResourceFetcher> > | 218 typedef std::vector<linked_ptr<webkit_glue::ImageResourceFetcher> > |
218 ImageResourceFetcherList; | 219 ImageResourceFetcherList; |
219 | 220 |
220 // ImageResourceFetchers schedule via DownloadImage. | 221 // ImageResourceFetchers schedule via DownloadImage. |
221 ImageResourceFetcherList image_fetchers_; | 222 ImageResourceFetcherList image_fetchers_; |
222 | 223 |
223 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); | 224 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); |
224 }; | 225 }; |
225 | 226 |
226 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ | 227 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ |
OLD | NEW |