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