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_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 virtual void OverrideWebkitPrefs(content::RenderViewHost* rvh, | 236 virtual void OverrideWebkitPrefs(content::RenderViewHost* rvh, |
237 const GURL& url, | 237 const GURL& url, |
238 WebPreferences* prefs) OVERRIDE; | 238 WebPreferences* prefs) OVERRIDE; |
239 virtual void UpdateInspectorSetting(content::RenderViewHost* rvh, | 239 virtual void UpdateInspectorSetting(content::RenderViewHost* rvh, |
240 const std::string& key, | 240 const std::string& key, |
241 const std::string& value) OVERRIDE; | 241 const std::string& value) OVERRIDE; |
242 virtual void BrowserURLHandlerCreated( | 242 virtual void BrowserURLHandlerCreated( |
243 content::BrowserURLHandler* handler) OVERRIDE; | 243 content::BrowserURLHandler* handler) OVERRIDE; |
244 virtual void ClearCache(content::RenderViewHost* rvh) OVERRIDE; | 244 virtual void ClearCache(content::RenderViewHost* rvh) OVERRIDE; |
245 virtual void ClearCookies(content::RenderViewHost* rvh) OVERRIDE; | 245 virtual void ClearCookies(content::RenderViewHost* rvh) OVERRIDE; |
| 246 virtual void DisableNetwork( |
| 247 content::RenderViewHost* rvh, |
| 248 const std::string& id, |
| 249 bool disable_network) OVERRIDE; |
246 virtual base::FilePath GetDefaultDownloadDirectory() OVERRIDE; | 250 virtual base::FilePath GetDefaultDownloadDirectory() OVERRIDE; |
247 virtual std::string GetDefaultDownloadName() OVERRIDE; | 251 virtual std::string GetDefaultDownloadName() OVERRIDE; |
248 virtual void DidCreatePpapiPlugin( | 252 virtual void DidCreatePpapiPlugin( |
249 content::BrowserPpapiHost* browser_host) OVERRIDE; | 253 content::BrowserPpapiHost* browser_host) OVERRIDE; |
250 virtual content::BrowserPpapiHost* GetExternalBrowserPpapiHost( | 254 virtual content::BrowserPpapiHost* GetExternalBrowserPpapiHost( |
251 int plugin_process_id) OVERRIDE; | 255 int plugin_process_id) OVERRIDE; |
252 virtual bool SupportsBrowserPlugin(content::BrowserContext* browser_context, | 256 virtual bool SupportsBrowserPlugin(content::BrowserContext* browser_context, |
253 const GURL& site_url) OVERRIDE; | 257 const GURL& site_url) OVERRIDE; |
254 virtual bool AllowPepperSocketAPI( | 258 virtual bool AllowPepperSocketAPI( |
255 content::BrowserContext* browser_context, | 259 content::BrowserContext* browser_context, |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 permissions_policy_delegate_; | 308 permissions_policy_delegate_; |
305 | 309 |
306 friend class DisableWebRtcEncryptionFlagTest; | 310 friend class DisableWebRtcEncryptionFlagTest; |
307 | 311 |
308 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 312 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
309 }; | 313 }; |
310 | 314 |
311 } // namespace chrome | 315 } // namespace chrome |
312 | 316 |
313 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 317 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |