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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 void ResourceDispatcherHostCreated() override; | 224 void ResourceDispatcherHostCreated() override; |
225 content::SpeechRecognitionManagerDelegate* | 225 content::SpeechRecognitionManagerDelegate* |
226 CreateSpeechRecognitionManagerDelegate() override; | 226 CreateSpeechRecognitionManagerDelegate() override; |
227 net::NetLog* GetNetLog() override; | 227 net::NetLog* GetNetLog() override; |
228 content::AccessTokenStore* CreateAccessTokenStore() override; | 228 content::AccessTokenStore* CreateAccessTokenStore() override; |
229 bool IsFastShutdownPossible() override; | 229 bool IsFastShutdownPossible() override; |
230 void OverrideWebkitPrefs(content::RenderViewHost* rvh, | 230 void OverrideWebkitPrefs(content::RenderViewHost* rvh, |
231 const GURL& url, | 231 const GURL& url, |
232 content::WebPreferences* prefs) override; | 232 content::WebPreferences* prefs) override; |
233 void BrowserURLHandlerCreated(content::BrowserURLHandler* handler) override; | 233 void BrowserURLHandlerCreated(content::BrowserURLHandler* handler) override; |
| 234 GURL FixupURL(const GURL& url) override; |
234 void ClearCache(content::RenderViewHost* rvh) override; | 235 void ClearCache(content::RenderViewHost* rvh) override; |
235 void ClearCookies(content::RenderViewHost* rvh) override; | 236 void ClearCookies(content::RenderViewHost* rvh) override; |
236 base::FilePath GetDefaultDownloadDirectory() override; | 237 base::FilePath GetDefaultDownloadDirectory() override; |
237 std::string GetDefaultDownloadName() override; | 238 std::string GetDefaultDownloadName() override; |
238 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; | 239 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; |
239 content::BrowserPpapiHost* GetExternalBrowserPpapiHost( | 240 content::BrowserPpapiHost* GetExternalBrowserPpapiHost( |
240 int plugin_process_id) override; | 241 int plugin_process_id) override; |
241 bool AllowPepperSocketAPI( | 242 bool AllowPepperSocketAPI( |
242 content::BrowserContext* browser_context, | 243 content::BrowserContext* browser_context, |
243 const GURL& url, | 244 const GURL& url, |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 342 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
342 | 343 |
343 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 344 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
344 | 345 |
345 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 346 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
346 }; | 347 }; |
347 | 348 |
348 } // namespace chrome | 349 } // namespace chrome |
349 | 350 |
350 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 351 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |