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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 WindowOpenDisposition disposition, | 213 WindowOpenDisposition disposition, |
214 const blink::mojom::WindowFeatures& features, | 214 const blink::mojom::WindowFeatures& features, |
215 bool user_gesture, | 215 bool user_gesture, |
216 bool opener_suppressed, | 216 bool opener_suppressed, |
217 content::ResourceContext* context, | 217 content::ResourceContext* context, |
218 bool* no_javascript_access) override; | 218 bool* no_javascript_access) override; |
219 void ResourceDispatcherHostCreated() override; | 219 void ResourceDispatcherHostCreated() override; |
220 content::SpeechRecognitionManagerDelegate* | 220 content::SpeechRecognitionManagerDelegate* |
221 CreateSpeechRecognitionManagerDelegate() override; | 221 CreateSpeechRecognitionManagerDelegate() override; |
222 net::NetLog* GetNetLog() override; | 222 net::NetLog* GetNetLog() override; |
| 223 bool MayDeleteHistory(content::BrowserContext* browser_context) override; |
223 void OverrideWebkitPrefs(content::RenderViewHost* rvh, | 224 void OverrideWebkitPrefs(content::RenderViewHost* rvh, |
224 content::WebPreferences* prefs) override; | 225 content::WebPreferences* prefs) override; |
225 void BrowserURLHandlerCreated(content::BrowserURLHandler* handler) override; | 226 void BrowserURLHandlerCreated(content::BrowserURLHandler* handler) override; |
226 void ClearCache(content::RenderFrameHost* rfh) override; | 227 void ClearCache(content::RenderFrameHost* rfh) override; |
227 void ClearSiteData(content::BrowserContext* browser_context, | 228 void ClearSiteData(content::BrowserContext* browser_context, |
228 const url::Origin& origin, | 229 const url::Origin& origin, |
229 bool remove_cookies, | 230 bool remove_cookies, |
230 bool remove_storage, | 231 bool remove_storage, |
231 bool remove_cache, | 232 bool remove_cache, |
232 const base::Closure& callback) override; | 233 const base::Closure& callback) override; |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 387 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
387 | 388 |
388 service_manager::BinderRegistry gpu_binder_registry_; | 389 service_manager::BinderRegistry gpu_binder_registry_; |
389 | 390 |
390 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 391 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
391 | 392 |
392 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 393 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
393 }; | 394 }; |
394 | 395 |
395 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 396 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |