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 bool opener_suppressed, | 216 bool opener_suppressed, |
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 ClearSiteData(content::BrowserContext* browser_context, | |
227 const url::Origin& origin, | |
228 bool remove_cookies, | |
229 bool remove_storage, | |
230 bool remove_cache, | |
231 const base::Closure& callback) override; | |
232 base::FilePath GetDefaultDownloadDirectory() override; | 226 base::FilePath GetDefaultDownloadDirectory() override; |
233 std::string GetDefaultDownloadName() override; | 227 std::string GetDefaultDownloadName() override; |
234 base::FilePath GetShaderDiskCacheDirectory() override; | 228 base::FilePath GetShaderDiskCacheDirectory() override; |
235 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; | 229 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; |
236 content::BrowserPpapiHost* GetExternalBrowserPpapiHost( | 230 content::BrowserPpapiHost* GetExternalBrowserPpapiHost( |
237 int plugin_process_id) override; | 231 int plugin_process_id) override; |
238 gpu::GpuChannelEstablishFactory* GetGpuChannelEstablishFactory() override; | 232 gpu::GpuChannelEstablishFactory* GetGpuChannelEstablishFactory() override; |
239 bool AllowPepperSocketAPI( | 233 bool AllowPepperSocketAPI( |
240 content::BrowserContext* browser_context, | 234 content::BrowserContext* browser_context, |
241 const GURL& url, | 235 const GURL& url, |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 380 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
387 | 381 |
388 service_manager::BinderRegistry gpu_binder_registry_; | 382 service_manager::BinderRegistry gpu_binder_registry_; |
389 | 383 |
390 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 384 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
391 | 385 |
392 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 386 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
393 }; | 387 }; |
394 | 388 |
395 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 389 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |