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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 int child_process_id, | 247 int child_process_id, |
248 content::FileDescriptorInfo* mappings) override; | 248 content::FileDescriptorInfo* mappings) override; |
249 #endif | 249 #endif |
250 #if defined(OS_WIN) | 250 #if defined(OS_WIN) |
251 const wchar_t* GetResourceDllName() override; | 251 const wchar_t* GetResourceDllName() override; |
252 void PreSpawnRenderer(sandbox::TargetPolicy* policy, bool* success) override; | 252 void PreSpawnRenderer(sandbox::TargetPolicy* policy, bool* success) override; |
253 #endif | 253 #endif |
254 void OverrideRenderFrameMojoServices( | 254 void OverrideRenderFrameMojoServices( |
255 content::ServiceRegistry* registry, | 255 content::ServiceRegistry* registry, |
256 content::RenderFrameHost* render_frame_host) override; | 256 content::RenderFrameHost* render_frame_host) override; |
| 257 void RegisterMojoApplications(StaticMojoApplicationMap* apps) override; |
257 void OpenURL(content::BrowserContext* browser_context, | 258 void OpenURL(content::BrowserContext* browser_context, |
258 const content::OpenURLParams& params, | 259 const content::OpenURLParams& params, |
259 const base::Callback<void(content::WebContents*)>& callback) | 260 const base::Callback<void(content::WebContents*)>& callback) |
260 override; | 261 override; |
261 content::PresentationServiceDelegate* GetPresentationServiceDelegate( | 262 content::PresentationServiceDelegate* GetPresentationServiceDelegate( |
262 content::WebContents* web_contents) override; | 263 content::WebContents* web_contents) override; |
263 | 264 |
264 void RecordURLMetric(const std::string& metric, const GURL& url) override; | 265 void RecordURLMetric(const std::string& metric, const GURL& url) override; |
265 | 266 |
266 private: | 267 private: |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 318 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
318 | 319 |
319 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 320 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
320 | 321 |
321 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 322 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
322 }; | 323 }; |
323 | 324 |
324 } // namespace chrome | 325 } // namespace chrome |
325 | 326 |
326 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 327 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |