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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 213 |
214 content::GeolocationDelegate* CreateGeolocationDelegate() override; | |
215 | |
216 bool IsFastShutdownPossible() override; | 214 bool IsFastShutdownPossible() override; |
217 void OverrideWebkitPrefs(content::RenderViewHost* rvh, | 215 void OverrideWebkitPrefs(content::RenderViewHost* rvh, |
218 content::WebPreferences* prefs) override; | 216 content::WebPreferences* prefs) override; |
219 void BrowserURLHandlerCreated(content::BrowserURLHandler* handler) override; | 217 void BrowserURLHandlerCreated(content::BrowserURLHandler* handler) override; |
220 void ClearCache(content::RenderFrameHost* rfh) override; | 218 void ClearCache(content::RenderFrameHost* rfh) override; |
221 void ClearCookies(content::RenderFrameHost* rfh) override; | 219 void ClearCookies(content::RenderFrameHost* rfh) override; |
222 base::FilePath GetDefaultDownloadDirectory() override; | 220 base::FilePath GetDefaultDownloadDirectory() override; |
223 std::string GetDefaultDownloadName() override; | 221 std::string GetDefaultDownloadName() override; |
224 base::FilePath GetShaderDiskCacheDirectory() override; | 222 base::FilePath GetShaderDiskCacheDirectory() override; |
225 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; | 223 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 // Vector of additional ChromeContentBrowserClientParts. | 345 // Vector of additional ChromeContentBrowserClientParts. |
348 // Parts are deleted in the reverse order they are added. | 346 // Parts are deleted in the reverse order they are added. |
349 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 347 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
350 | 348 |
351 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 349 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
352 | 350 |
353 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 351 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
354 }; | 352 }; |
355 | 353 |
356 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 354 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |