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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 content::GpuProcessHost* render_process_host) override; | 289 content::GpuProcessHost* render_process_host) override; |
290 void RegisterInProcessServices(StaticServiceMap* services) override; | 290 void RegisterInProcessServices(StaticServiceMap* services) override; |
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 const std::string& name) override; | 294 const std::string& name) override; |
295 void OpenURL(content::BrowserContext* browser_context, | 295 void OpenURL(content::BrowserContext* browser_context, |
296 const content::OpenURLParams& params, | 296 const content::OpenURLParams& params, |
297 const base::Callback<void(content::WebContents*)>& callback) | 297 const base::Callback<void(content::WebContents*)>& callback) |
298 override; | 298 override; |
299 content::PresentationServiceDelegate* GetPresentationServiceDelegate( | 299 content::ControllerPresentationServiceDelegate* |
| 300 GetControllerPresentationServiceDelegate( |
| 301 content::WebContents* web_contents) override; |
| 302 content::ReceiverPresentationServiceDelegate* |
| 303 GetReceiverPresentationServiceDelegate( |
300 content::WebContents* web_contents) override; | 304 content::WebContents* web_contents) override; |
301 | 305 |
302 void RecordURLMetric(const std::string& metric, const GURL& url) override; | 306 void RecordURLMetric(const std::string& metric, const GURL& url) override; |
303 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( | 307 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( |
304 content::NavigationHandle* handle) override; | 308 content::NavigationHandle* handle) override; |
305 std::unique_ptr<content::NavigationUIData> GetNavigationUIData( | 309 std::unique_ptr<content::NavigationUIData> GetNavigationUIData( |
306 content::NavigationHandle* navigation_handle) override; | 310 content::NavigationHandle* navigation_handle) override; |
307 std::unique_ptr<content::MemoryCoordinatorDelegate> | 311 std::unique_ptr<content::MemoryCoordinatorDelegate> |
308 GetMemoryCoordinatorDelegate() override; | 312 GetMemoryCoordinatorDelegate() override; |
309 | 313 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 // Vector of additional ChromeContentBrowserClientParts. | 356 // Vector of additional ChromeContentBrowserClientParts. |
353 // Parts are deleted in the reverse order they are added. | 357 // Parts are deleted in the reverse order they are added. |
354 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 358 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
355 | 359 |
356 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 360 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
357 | 361 |
358 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 362 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
359 }; | 363 }; |
360 | 364 |
361 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 365 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |