| 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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 net::NetLog* GetNetLog() override; | 216 net::NetLog* GetNetLog() override; |
| 217 content::AccessTokenStore* CreateAccessTokenStore() override; | 217 content::AccessTokenStore* CreateAccessTokenStore() override; |
| 218 bool IsFastShutdownPossible() override; | 218 bool IsFastShutdownPossible() override; |
| 219 void OverrideWebkitPrefs(content::RenderViewHost* rvh, | 219 void OverrideWebkitPrefs(content::RenderViewHost* rvh, |
| 220 content::WebPreferences* prefs) override; | 220 content::WebPreferences* prefs) override; |
| 221 void BrowserURLHandlerCreated(content::BrowserURLHandler* handler) override; | 221 void BrowserURLHandlerCreated(content::BrowserURLHandler* handler) override; |
| 222 void ClearCache(content::RenderFrameHost* rfh) override; | 222 void ClearCache(content::RenderFrameHost* rfh) override; |
| 223 void ClearCookies(content::RenderFrameHost* rfh) override; | 223 void ClearCookies(content::RenderFrameHost* rfh) override; |
| 224 base::FilePath GetDefaultDownloadDirectory() override; | 224 base::FilePath GetDefaultDownloadDirectory() override; |
| 225 std::string GetDefaultDownloadName() override; | 225 std::string GetDefaultDownloadName() override; |
| 226 base::FilePath GetShaderDiskCacheDirectory() override; |
| 226 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; | 227 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; |
| 227 content::BrowserPpapiHost* GetExternalBrowserPpapiHost( | 228 content::BrowserPpapiHost* GetExternalBrowserPpapiHost( |
| 228 int plugin_process_id) override; | 229 int plugin_process_id) override; |
| 229 bool AllowPepperSocketAPI( | 230 bool AllowPepperSocketAPI( |
| 230 content::BrowserContext* browser_context, | 231 content::BrowserContext* browser_context, |
| 231 const GURL& url, | 232 const GURL& url, |
| 232 bool private_api, | 233 bool private_api, |
| 233 const content::SocketPermissionRequest* params) override; | 234 const content::SocketPermissionRequest* params) override; |
| 234 ui::SelectFilePolicy* CreateSelectFilePolicy( | 235 ui::SelectFilePolicy* CreateSelectFilePolicy( |
| 235 content::WebContents* web_contents) override; | 236 content::WebContents* web_contents) override; |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 333 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 333 | 334 |
| 334 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 335 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 335 | 336 |
| 336 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 337 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 337 }; | 338 }; |
| 338 | 339 |
| 339 } // namespace chrome | 340 } // namespace chrome |
| 340 | 341 |
| 341 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 342 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |