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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 int child_process_id, | 243 int child_process_id, |
244 content::FileDescriptorInfo* mappings) override; | 244 content::FileDescriptorInfo* mappings) override; |
245 #endif | 245 #endif |
246 #if defined(OS_WIN) | 246 #if defined(OS_WIN) |
247 const wchar_t* GetResourceDllName() override; | 247 const wchar_t* GetResourceDllName() override; |
248 void PreSpawnRenderer(sandbox::TargetPolicy* policy, bool* success) override; | 248 void PreSpawnRenderer(sandbox::TargetPolicy* policy, bool* success) override; |
249 #endif | 249 #endif |
250 bool CheckMediaAccessPermission(content::BrowserContext* browser_context, | 250 bool CheckMediaAccessPermission(content::BrowserContext* browser_context, |
251 const GURL& security_origin, | 251 const GURL& security_origin, |
252 content::MediaStreamType type) override; | 252 content::MediaStreamType type) override; |
253 | 253 void OverrideRenderFrameMojoServices( |
| 254 content::ServiceRegistry* registry, |
| 255 content::RenderFrameHost* render_frame_host) override; |
254 void OpenURL(content::BrowserContext* browser_context, | 256 void OpenURL(content::BrowserContext* browser_context, |
255 const content::OpenURLParams& params, | 257 const content::OpenURLParams& params, |
256 const base::Callback<void(content::WebContents*)>& callback) | 258 const base::Callback<void(content::WebContents*)>& callback) |
257 override; | 259 override; |
258 | 260 |
259 void RecordURLMetric(const std::string& metric, const GURL& url) override; | 261 void RecordURLMetric(const std::string& metric, const GURL& url) override; |
260 | 262 |
261 private: | 263 private: |
262 friend class DisableWebRtcEncryptionFlagTest; | 264 friend class DisableWebRtcEncryptionFlagTest; |
263 | 265 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 312 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
311 | 313 |
312 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 314 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
313 | 315 |
314 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 316 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
315 }; | 317 }; |
316 | 318 |
317 } // namespace chrome | 319 } // namespace chrome |
318 | 320 |
319 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 321 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |