| 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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 net::NetLog* GetNetLog() override; | 213 net::NetLog* GetNetLog() override; |
| 214 content::AccessTokenStore* CreateAccessTokenStore() override; | 214 content::AccessTokenStore* CreateAccessTokenStore() override; |
| 215 bool IsFastShutdownPossible() override; | 215 bool IsFastShutdownPossible() 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 ClearCache(content::RenderFrameHost* rfh) override; | 219 void ClearCache(content::RenderFrameHost* rfh) override; |
| 220 void ClearCookies(content::RenderFrameHost* rfh) override; | 220 void ClearCookies(content::RenderFrameHost* rfh) override; |
| 221 base::FilePath GetDefaultDownloadDirectory() override; | 221 base::FilePath GetDefaultDownloadDirectory() override; |
| 222 std::string GetDefaultDownloadName() override; | 222 std::string GetDefaultDownloadName() override; |
| 223 base::FilePath GetUserDataDirectory() override; |
| 223 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; | 224 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; |
| 224 content::BrowserPpapiHost* GetExternalBrowserPpapiHost( | 225 content::BrowserPpapiHost* GetExternalBrowserPpapiHost( |
| 225 int plugin_process_id) override; | 226 int plugin_process_id) override; |
| 226 bool AllowPepperSocketAPI( | 227 bool AllowPepperSocketAPI( |
| 227 content::BrowserContext* browser_context, | 228 content::BrowserContext* browser_context, |
| 228 const GURL& url, | 229 const GURL& url, |
| 229 bool private_api, | 230 bool private_api, |
| 230 const content::SocketPermissionRequest* params) override; | 231 const content::SocketPermissionRequest* params) override; |
| 231 ui::SelectFilePolicy* CreateSelectFilePolicy( | 232 ui::SelectFilePolicy* CreateSelectFilePolicy( |
| 232 content::WebContents* web_contents) override; | 233 content::WebContents* web_contents) override; |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 330 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 330 | 331 |
| 331 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 332 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 332 | 333 |
| 333 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 334 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 334 }; | 335 }; |
| 335 | 336 |
| 336 } // namespace chrome | 337 } // namespace chrome |
| 337 | 338 |
| 338 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 339 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |