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