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 content::GpuProcessHost* render_process_host) override; | 291 content::GpuProcessHost* render_process_host) override; |
292 void RegisterInProcessServices(StaticServiceMap* services) override; | 292 void RegisterInProcessServices(StaticServiceMap* services) override; |
293 void RegisterOutOfProcessServices( | 293 void RegisterOutOfProcessServices( |
294 OutOfProcessServiceMap* services) override; | 294 OutOfProcessServiceMap* services) override; |
295 std::unique_ptr<base::Value> GetServiceManifestOverlay( | 295 std::unique_ptr<base::Value> GetServiceManifestOverlay( |
296 const std::string& name) override; | 296 const std::string& name) 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 | 307 |
304 void RecordURLMetric(const std::string& metric, const GURL& url) override; | 308 void RecordURLMetric(const std::string& metric, const GURL& url) override; |
305 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( | 309 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( |
306 content::NavigationHandle* handle) override; | 310 content::NavigationHandle* handle) override; |
307 std::unique_ptr<content::NavigationUIData> GetNavigationUIData( | 311 std::unique_ptr<content::NavigationUIData> GetNavigationUIData( |
308 content::NavigationHandle* navigation_handle) override; | 312 content::NavigationHandle* navigation_handle) override; |
309 std::unique_ptr<content::MemoryCoordinatorDelegate> | 313 std::unique_ptr<content::MemoryCoordinatorDelegate> |
310 GetMemoryCoordinatorDelegate() override; | 314 GetMemoryCoordinatorDelegate() override; |
311 | 315 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 // Vector of additional ChromeContentBrowserClientParts. | 358 // Vector of additional ChromeContentBrowserClientParts. |
355 // Parts are deleted in the reverse order they are added. | 359 // Parts are deleted in the reverse order they are added. |
356 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 360 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
357 | 361 |
358 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 362 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
359 | 363 |
360 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 364 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
361 }; | 365 }; |
362 | 366 |
363 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 367 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |