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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 content::GpuProcessHost* render_process_host) override; | 293 content::GpuProcessHost* render_process_host) override; |
294 void RegisterInProcessServices(StaticServiceMap* services) override; | 294 void RegisterInProcessServices(StaticServiceMap* services) override; |
295 void RegisterOutOfProcessServices( | 295 void RegisterOutOfProcessServices( |
296 OutOfProcessServiceMap* services) override; | 296 OutOfProcessServiceMap* services) override; |
297 std::unique_ptr<base::Value> GetServiceManifestOverlay( | 297 std::unique_ptr<base::Value> GetServiceManifestOverlay( |
298 const std::string& name) override; | 298 const std::string& name) override; |
299 void OpenURL(content::BrowserContext* browser_context, | 299 void OpenURL(content::BrowserContext* browser_context, |
300 const content::OpenURLParams& params, | 300 const content::OpenURLParams& params, |
301 const base::Callback<void(content::WebContents*)>& callback) | 301 const base::Callback<void(content::WebContents*)>& callback) |
302 override; | 302 override; |
303 content::PresentationServiceDelegate* GetPresentationServiceDelegate( | 303 content::ControllerPresentationServiceDelegate* |
| 304 GetControllerPresentationServiceDelegate( |
| 305 content::WebContents* web_contents) override; |
| 306 content::ReceiverPresentationServiceDelegate* |
| 307 GetReceiverPresentationServiceDelegate( |
304 content::WebContents* web_contents) override; | 308 content::WebContents* web_contents) override; |
305 void RecordURLMetric(const std::string& metric, const GURL& url) override; | 309 void RecordURLMetric(const std::string& metric, const GURL& url) override; |
306 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( | 310 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( |
307 content::NavigationHandle* handle) override; | 311 content::NavigationHandle* handle) override; |
308 std::unique_ptr<content::NavigationUIData> GetNavigationUIData( | 312 std::unique_ptr<content::NavigationUIData> GetNavigationUIData( |
309 content::NavigationHandle* navigation_handle) override; | 313 content::NavigationHandle* navigation_handle) override; |
310 std::unique_ptr<content::MemoryCoordinatorDelegate> | 314 std::unique_ptr<content::MemoryCoordinatorDelegate> |
311 GetMemoryCoordinatorDelegate() override; | 315 GetMemoryCoordinatorDelegate() override; |
312 ::rappor::RapporService* GetRapporService() override; | 316 ::rappor::RapporService* GetRapporService() override; |
313 | 317 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 // Vector of additional ChromeContentBrowserClientParts. | 373 // Vector of additional ChromeContentBrowserClientParts. |
370 // Parts are deleted in the reverse order they are added. | 374 // Parts are deleted in the reverse order they are added. |
371 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 375 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
372 | 376 |
373 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 377 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
374 | 378 |
375 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 379 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
376 }; | 380 }; |
377 | 381 |
378 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 382 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |