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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 virtual void OverrideWebkitPrefs(content::RenderViewHost* rvh, | 228 virtual void OverrideWebkitPrefs(content::RenderViewHost* rvh, |
229 const GURL& url, | 229 const GURL& url, |
230 WebPreferences* prefs) OVERRIDE; | 230 WebPreferences* prefs) OVERRIDE; |
231 virtual void UpdateInspectorSetting(content::RenderViewHost* rvh, | 231 virtual void UpdateInspectorSetting(content::RenderViewHost* rvh, |
232 const std::string& key, | 232 const std::string& key, |
233 const std::string& value) OVERRIDE; | 233 const std::string& value) OVERRIDE; |
234 virtual void BrowserURLHandlerCreated( | 234 virtual void BrowserURLHandlerCreated( |
235 content::BrowserURLHandler* handler) OVERRIDE; | 235 content::BrowserURLHandler* handler) OVERRIDE; |
236 virtual void ClearCache(content::RenderViewHost* rvh) OVERRIDE; | 236 virtual void ClearCache(content::RenderViewHost* rvh) OVERRIDE; |
237 virtual void ClearCookies(content::RenderViewHost* rvh) OVERRIDE; | 237 virtual void ClearCookies(content::RenderViewHost* rvh) OVERRIDE; |
| 238 virtual void SetBlockedDomains( |
| 239 content::RenderViewHost* rvh, |
| 240 const std::string& id, |
| 241 const std::vector<std::string>& blocked_domains) OVERRIDE; |
238 virtual base::FilePath GetDefaultDownloadDirectory() OVERRIDE; | 242 virtual base::FilePath GetDefaultDownloadDirectory() OVERRIDE; |
239 virtual std::string GetDefaultDownloadName() OVERRIDE; | 243 virtual std::string GetDefaultDownloadName() OVERRIDE; |
240 virtual void DidCreatePpapiPlugin( | 244 virtual void DidCreatePpapiPlugin( |
241 content::BrowserPpapiHost* browser_host) OVERRIDE; | 245 content::BrowserPpapiHost* browser_host) OVERRIDE; |
242 virtual content::BrowserPpapiHost* GetExternalBrowserPpapiHost( | 246 virtual content::BrowserPpapiHost* GetExternalBrowserPpapiHost( |
243 int plugin_process_id) OVERRIDE; | 247 int plugin_process_id) OVERRIDE; |
244 virtual bool SupportsBrowserPlugin(content::BrowserContext* browser_context, | 248 virtual bool SupportsBrowserPlugin(content::BrowserContext* browser_context, |
245 const GURL& site_url) OVERRIDE; | 249 const GURL& site_url) OVERRIDE; |
246 virtual bool AllowPepperSocketAPI( | 250 virtual bool AllowPepperSocketAPI( |
247 content::BrowserContext* browser_context, | 251 content::BrowserContext* browser_context, |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 permissions_policy_delegate_; | 298 permissions_policy_delegate_; |
295 | 299 |
296 friend class DisableWebRtcEncryptionFlagTest; | 300 friend class DisableWebRtcEncryptionFlagTest; |
297 | 301 |
298 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 302 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
299 }; | 303 }; |
300 | 304 |
301 } // namespace chrome | 305 } // namespace chrome |
302 | 306 |
303 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 307 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |