| 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; | |
| 259 void OpenURL(content::BrowserContext* browser_context, | 258 void OpenURL(content::BrowserContext* browser_context, |
| 260 const content::OpenURLParams& params, | 259 const content::OpenURLParams& params, |
| 261 const base::Callback<void(content::WebContents*)>& callback) | 260 const base::Callback<void(content::WebContents*)>& callback) |
| 262 override; | 261 override; |
| 263 content::PresentationServiceDelegate* GetPresentationServiceDelegate( | 262 content::PresentationServiceDelegate* GetPresentationServiceDelegate( |
| 264 content::WebContents* web_contents) override; | 263 content::WebContents* web_contents) override; |
| 265 | 264 |
| 266 void RecordURLMetric(const std::string& metric, const GURL& url) override; | 265 void RecordURLMetric(const std::string& metric, const GURL& url) override; |
| 267 | 266 |
| 268 private: | 267 private: |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 318 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 320 | 319 |
| 321 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 320 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 322 | 321 |
| 323 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 322 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 324 }; | 323 }; |
| 325 | 324 |
| 326 } // namespace chrome | 325 } // namespace chrome |
| 327 | 326 |
| 328 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 327 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |