| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 content::ResourceContext* context, | 216 content::ResourceContext* context, |
| 217 bool* no_javascript_access) override; | 217 bool* no_javascript_access) override; |
| 218 void ResourceDispatcherHostCreated() override; | 218 void ResourceDispatcherHostCreated() override; |
| 219 content::SpeechRecognitionManagerDelegate* | 219 content::SpeechRecognitionManagerDelegate* |
| 220 CreateSpeechRecognitionManagerDelegate() override; | 220 CreateSpeechRecognitionManagerDelegate() override; |
| 221 net::NetLog* GetNetLog() override; | 221 net::NetLog* GetNetLog() override; |
| 222 void OverrideWebkitPrefs(content::RenderViewHost* rvh, | 222 void OverrideWebkitPrefs(content::RenderViewHost* rvh, |
| 223 content::WebPreferences* prefs) override; | 223 content::WebPreferences* prefs) override; |
| 224 void BrowserURLHandlerCreated(content::BrowserURLHandler* handler) override; | 224 void BrowserURLHandlerCreated(content::BrowserURLHandler* handler) override; |
| 225 void ClearCache(content::RenderFrameHost* rfh) override; | 225 void ClearCache(content::RenderFrameHost* rfh) override; |
| 226 void ClearCookies(content::RenderFrameHost* rfh) override; | |
| 227 void ClearSiteData(content::BrowserContext* browser_context, | 226 void ClearSiteData(content::BrowserContext* browser_context, |
| 228 const url::Origin& origin, | 227 const url::Origin& origin, |
| 229 bool remove_cookies, | 228 bool remove_cookies, |
| 230 bool remove_storage, | 229 bool remove_storage, |
| 231 bool remove_cache, | 230 bool remove_cache, |
| 232 const base::Closure& callback) override; | 231 const base::Closure& callback) override; |
| 233 base::FilePath GetDefaultDownloadDirectory() override; | 232 base::FilePath GetDefaultDownloadDirectory() override; |
| 234 std::string GetDefaultDownloadName() override; | 233 std::string GetDefaultDownloadName() override; |
| 235 base::FilePath GetShaderDiskCacheDirectory() override; | 234 base::FilePath GetShaderDiskCacheDirectory() override; |
| 236 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; | 235 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 385 // Vector of additional ChromeContentBrowserClientParts. | 384 // Vector of additional ChromeContentBrowserClientParts. |
| 386 // Parts are deleted in the reverse order they are added. | 385 // Parts are deleted in the reverse order they are added. |
| 387 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 386 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 388 | 387 |
| 389 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 388 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 390 | 389 |
| 391 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 390 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 392 }; | 391 }; |
| 393 | 392 |
| 394 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 393 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |