| 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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 bool user_gesture, | 209 bool user_gesture, |
| 210 bool opener_suppressed, | 210 bool opener_suppressed, |
| 211 bool* no_javascript_access) override; | 211 bool* no_javascript_access) override; |
| 212 void ResourceDispatcherHostCreated() override; | 212 void ResourceDispatcherHostCreated() override; |
| 213 content::SpeechRecognitionManagerDelegate* | 213 content::SpeechRecognitionManagerDelegate* |
| 214 CreateSpeechRecognitionManagerDelegate() override; | 214 CreateSpeechRecognitionManagerDelegate() override; |
| 215 net::NetLog* GetNetLog() override; | 215 net::NetLog* GetNetLog() override; |
| 216 void OverrideWebkitPrefs(content::RenderViewHost* rvh, | 216 void OverrideWebkitPrefs(content::RenderViewHost* rvh, |
| 217 content::WebPreferences* prefs) override; | 217 content::WebPreferences* prefs) override; |
| 218 void BrowserURLHandlerCreated(content::BrowserURLHandler* handler) override; | 218 void BrowserURLHandlerCreated(content::BrowserURLHandler* handler) override; |
| 219 void ClearSiteData(content::BrowserContext* browser_context, | |
| 220 const url::Origin& origin, | |
| 221 bool remove_cookies, | |
| 222 bool remove_storage, | |
| 223 bool remove_cache, | |
| 224 const base::Closure& callback) override; | |
| 225 base::FilePath GetDefaultDownloadDirectory() override; | 219 base::FilePath GetDefaultDownloadDirectory() override; |
| 226 std::string GetDefaultDownloadName() override; | 220 std::string GetDefaultDownloadName() override; |
| 227 base::FilePath GetShaderDiskCacheDirectory() override; | 221 base::FilePath GetShaderDiskCacheDirectory() override; |
| 228 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; | 222 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; |
| 229 content::BrowserPpapiHost* GetExternalBrowserPpapiHost( | 223 content::BrowserPpapiHost* GetExternalBrowserPpapiHost( |
| 230 int plugin_process_id) override; | 224 int plugin_process_id) override; |
| 231 gpu::GpuChannelEstablishFactory* GetGpuChannelEstablishFactory() override; | 225 gpu::GpuChannelEstablishFactory* GetGpuChannelEstablishFactory() override; |
| 232 bool AllowPepperSocketAPI( | 226 bool AllowPepperSocketAPI( |
| 233 content::BrowserContext* browser_context, | 227 content::BrowserContext* browser_context, |
| 234 const GURL& url, | 228 const GURL& url, |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 373 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 380 | 374 |
| 381 service_manager::BinderRegistry gpu_binder_registry_; | 375 service_manager::BinderRegistry gpu_binder_registry_; |
| 382 | 376 |
| 383 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 377 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 384 | 378 |
| 385 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 379 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 386 }; | 380 }; |
| 387 | 381 |
| 388 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 382 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |