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; | |
304 void OpenURL(content::BrowserContext* browser_context, | 302 void OpenURL(content::BrowserContext* browser_context, |
305 const content::OpenURLParams& params, | 303 const content::OpenURLParams& params, |
306 const base::Callback<void(content::WebContents*)>& callback) | 304 const base::Callback<void(content::WebContents*)>& callback) |
307 override; | 305 override; |
308 content::PresentationServiceDelegate* GetPresentationServiceDelegate( | 306 content::PresentationServiceDelegate* GetPresentationServiceDelegate( |
309 content::WebContents* web_contents) override; | 307 content::WebContents* web_contents) override; |
310 | 308 |
311 void RecordURLMetric(const std::string& metric, const GURL& url) override; | 309 void RecordURLMetric(const std::string& metric, const GURL& url) override; |
312 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( | 310 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( |
313 content::NavigationHandle* handle) override; | 311 content::NavigationHandle* handle) override; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 // Vector of additional ChromeContentBrowserClientParts. | 355 // Vector of additional ChromeContentBrowserClientParts. |
358 // Parts are deleted in the reverse order they are added. | 356 // Parts are deleted in the reverse order they are added. |
359 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 357 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
360 | 358 |
361 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 359 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
362 | 360 |
363 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 361 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
364 }; | 362 }; |
365 | 363 |
366 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 364 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |