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