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 | 115 |
jochen (gone - plz use gerrit)
2011/12/02 14:42:18
why the empty line?
marja
2011/12/02 15:10:33
Done.
| |
116 virtual void SetAsInterstitial() OVERRIDE; | |
117 | |
116 void OnWebUIJavaScript(const string16& frame_xpath, | 118 void OnWebUIJavaScript(const string16& frame_xpath, |
117 const string16& jscript, | 119 const string16& jscript, |
118 int id, | 120 int id, |
119 bool notify_result); | 121 bool notify_result); |
120 void OnCaptureSnapshot(); | 122 void OnCaptureSnapshot(); |
121 void OnHandleMessageFromExternalHost(const std::string& message, | 123 void OnHandleMessageFromExternalHost(const std::string& message, |
122 const std::string& origin, | 124 const std::string& origin, |
123 const std::string& target); | 125 const std::string& target); |
124 void OnJavaScriptStressTestControl(int cmd, int param); | 126 void OnJavaScriptStressTestControl(int cmd, int param); |
125 void OnDownloadFavicon(int id, const GURL& image_url, int image_size); | 127 void OnDownloadFavicon(int id, const GURL& image_url, int image_size); |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
217 typedef std::vector<linked_ptr<webkit_glue::ImageResourceFetcher> > | 219 typedef std::vector<linked_ptr<webkit_glue::ImageResourceFetcher> > |
218 ImageResourceFetcherList; | 220 ImageResourceFetcherList; |
219 | 221 |
220 // ImageResourceFetchers schedule via DownloadImage. | 222 // ImageResourceFetchers schedule via DownloadImage. |
221 ImageResourceFetcherList image_fetchers_; | 223 ImageResourceFetcherList image_fetchers_; |
222 | 224 |
223 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); | 225 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); |
224 }; | 226 }; |
225 | 227 |
226 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ | 228 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ |
OLD | NEW |