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