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 <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 #endif // defined(OS_ANDROID) | 268 #endif // defined(OS_ANDROID) |
269 #if defined(OS_WIN) | 269 #if defined(OS_WIN) |
270 const wchar_t* GetResourceDllName() override; | 270 const wchar_t* GetResourceDllName() override; |
271 void PreSpawnRenderer(sandbox::TargetPolicy* policy, bool* success) override; | 271 void PreSpawnRenderer(sandbox::TargetPolicy* policy, bool* success) override; |
272 base::string16 GetAppContainerSidForSandboxType( | 272 base::string16 GetAppContainerSidForSandboxType( |
273 int sandbox_type) const override; | 273 int sandbox_type) const override; |
274 #endif | 274 #endif |
275 void RegisterFrameMojoShellServices( | 275 void RegisterFrameMojoShellServices( |
276 content::ServiceRegistry* registry, | 276 content::ServiceRegistry* registry, |
277 content::RenderFrameHost* render_frame_host) override; | 277 content::RenderFrameHost* render_frame_host) override; |
278 void RegisterInProcessMojoApplications( | 278 void RegisterRenderFrameMojoServices( |
279 StaticMojoApplicationMap* apps) override; | 279 content::ServiceRegistry* registry, |
| 280 content::RenderFrameHost* render_frame_host) override; |
280 void OpenURL(content::BrowserContext* browser_context, | 281 void OpenURL(content::BrowserContext* browser_context, |
281 const content::OpenURLParams& params, | 282 const content::OpenURLParams& params, |
282 const base::Callback<void(content::WebContents*)>& callback) | 283 const base::Callback<void(content::WebContents*)>& callback) |
283 override; | 284 override; |
284 content::PresentationServiceDelegate* GetPresentationServiceDelegate( | 285 content::PresentationServiceDelegate* GetPresentationServiceDelegate( |
285 content::WebContents* web_contents) override; | 286 content::WebContents* web_contents) override; |
286 | 287 |
287 void RecordURLMetric(const std::string& metric, const GURL& url) override; | 288 void RecordURLMetric(const std::string& metric, const GURL& url) override; |
288 | 289 |
289 private: | 290 private: |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 // Vector of additional ChromeContentBrowserClientParts. | 332 // Vector of additional ChromeContentBrowserClientParts. |
332 // Parts are deleted in the reverse order they are added. | 333 // Parts are deleted in the reverse order they are added. |
333 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 334 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
334 | 335 |
335 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 336 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
336 | 337 |
337 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 338 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
338 }; | 339 }; |
339 | 340 |
340 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 341 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |