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