| 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 bool opener_suppressed, | 203 bool opener_suppressed, |
| 204 content::ResourceContext* context, | 204 content::ResourceContext* context, |
| 205 int render_process_id, | 205 int render_process_id, |
| 206 int opener_render_view_id, | 206 int opener_render_view_id, |
| 207 int opener_render_frame_id, | 207 int opener_render_frame_id, |
| 208 bool* no_javascript_access) override; | 208 bool* no_javascript_access) override; |
| 209 void ResourceDispatcherHostCreated() override; | 209 void ResourceDispatcherHostCreated() override; |
| 210 content::SpeechRecognitionManagerDelegate* | 210 content::SpeechRecognitionManagerDelegate* |
| 211 CreateSpeechRecognitionManagerDelegate() override; | 211 CreateSpeechRecognitionManagerDelegate() override; |
| 212 net::NetLog* GetNetLog() override; | 212 net::NetLog* GetNetLog() override; |
| 213 | |
| 214 bool IsFastShutdownPossible() override; | |
| 215 void OverrideWebkitPrefs(content::RenderViewHost* rvh, | 213 void OverrideWebkitPrefs(content::RenderViewHost* rvh, |
| 216 content::WebPreferences* prefs) override; | 214 content::WebPreferences* prefs) override; |
| 217 void BrowserURLHandlerCreated(content::BrowserURLHandler* handler) override; | 215 void BrowserURLHandlerCreated(content::BrowserURLHandler* handler) override; |
| 218 void ClearCache(content::RenderFrameHost* rfh) override; | 216 void ClearCache(content::RenderFrameHost* rfh) override; |
| 219 void ClearCookies(content::RenderFrameHost* rfh) override; | 217 void ClearCookies(content::RenderFrameHost* rfh) override; |
| 220 base::FilePath GetDefaultDownloadDirectory() override; | 218 base::FilePath GetDefaultDownloadDirectory() override; |
| 221 std::string GetDefaultDownloadName() override; | 219 std::string GetDefaultDownloadName() override; |
| 222 base::FilePath GetShaderDiskCacheDirectory() override; | 220 base::FilePath GetShaderDiskCacheDirectory() override; |
| 223 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; | 221 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; |
| 224 content::BrowserPpapiHost* GetExternalBrowserPpapiHost( | 222 content::BrowserPpapiHost* GetExternalBrowserPpapiHost( |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 // Vector of additional ChromeContentBrowserClientParts. | 343 // Vector of additional ChromeContentBrowserClientParts. |
| 346 // Parts are deleted in the reverse order they are added. | 344 // Parts are deleted in the reverse order they are added. |
| 347 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 345 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 348 | 346 |
| 349 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 347 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 350 | 348 |
| 351 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 349 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 352 }; | 350 }; |
| 353 | 351 |
| 354 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 352 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |