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 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 void RegisterRenderFrameMojoInterfaces( | 292 void RegisterRenderFrameMojoInterfaces( |
293 shell::InterfaceRegistry* registry, | 293 shell::InterfaceRegistry* registry, |
294 content::RenderFrameHost* render_frame_host) override; | 294 content::RenderFrameHost* render_frame_host) override; |
295 void ExposeInterfacesToGpuProcess( | 295 void ExposeInterfacesToGpuProcess( |
296 shell::InterfaceRegistry* registry, | 296 shell::InterfaceRegistry* registry, |
297 content::GpuProcessHost* render_process_host) override; | 297 content::GpuProcessHost* render_process_host) override; |
298 void RegisterInProcessMojoApplications( | 298 void RegisterInProcessMojoApplications( |
299 StaticMojoApplicationMap* apps) override; | 299 StaticMojoApplicationMap* apps) override; |
300 void RegisterOutOfProcessMojoApplications( | 300 void RegisterOutOfProcessMojoApplications( |
301 OutOfProcessMojoApplicationMap* apps) override; | 301 OutOfProcessMojoApplicationMap* apps) override; |
| 302 std::unique_ptr<base::Value> GetServiceManifestOverlay( |
| 303 const std::string& name) override; |
302 void OpenURL(content::BrowserContext* browser_context, | 304 void OpenURL(content::BrowserContext* browser_context, |
303 const content::OpenURLParams& params, | 305 const content::OpenURLParams& params, |
304 const base::Callback<void(content::WebContents*)>& callback) | 306 const base::Callback<void(content::WebContents*)>& callback) |
305 override; | 307 override; |
306 content::PresentationServiceDelegate* GetPresentationServiceDelegate( | 308 content::PresentationServiceDelegate* GetPresentationServiceDelegate( |
307 content::WebContents* web_contents) override; | 309 content::WebContents* web_contents) override; |
308 | 310 |
309 void RecordURLMetric(const std::string& metric, const GURL& url) override; | 311 void RecordURLMetric(const std::string& metric, const GURL& url) override; |
310 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( | 312 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( |
311 content::NavigationHandle* handle) override; | 313 content::NavigationHandle* handle) override; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 // Vector of additional ChromeContentBrowserClientParts. | 357 // Vector of additional ChromeContentBrowserClientParts. |
356 // Parts are deleted in the reverse order they are added. | 358 // Parts are deleted in the reverse order they are added. |
357 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 359 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
358 | 360 |
359 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 361 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
360 | 362 |
361 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 363 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
362 }; | 364 }; |
363 | 365 |
364 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 366 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |