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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 #endif | 269 #endif |
270 #if defined(OS_WIN) | 270 #if defined(OS_WIN) |
271 virtual const wchar_t* GetResourceDllName() override; | 271 virtual const wchar_t* GetResourceDllName() override; |
272 virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy, | 272 virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy, |
273 bool* success) override; | 273 bool* success) override; |
274 #endif | 274 #endif |
275 bool CheckMediaAccessPermission(content::BrowserContext* browser_context, | 275 bool CheckMediaAccessPermission(content::BrowserContext* browser_context, |
276 const GURL& security_origin, | 276 const GURL& security_origin, |
277 content::MediaStreamType type) override; | 277 content::MediaStreamType type) override; |
278 | 278 |
| 279 content::WebContents* OpenURL(content::BrowserContext* browser_context, |
| 280 const content::OpenURLParams& params) override; |
| 281 |
279 private: | 282 private: |
280 friend class DisableWebRtcEncryptionFlagTest; | 283 friend class DisableWebRtcEncryptionFlagTest; |
281 | 284 |
282 #if defined(ENABLE_WEBRTC) | 285 #if defined(ENABLE_WEBRTC) |
283 // Copies disable WebRTC encryption switch depending on the channel. | 286 // Copies disable WebRTC encryption switch depending on the channel. |
284 static void MaybeCopyDisableWebRtcEncryptionSwitch( | 287 static void MaybeCopyDisableWebRtcEncryptionSwitch( |
285 base::CommandLine* to_command_line, | 288 base::CommandLine* to_command_line, |
286 const base::CommandLine& from_command_line, | 289 const base::CommandLine& from_command_line, |
287 VersionInfo::Channel channel); | 290 VersionInfo::Channel channel); |
288 #endif | 291 #endif |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 334 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
332 | 335 |
333 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 336 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
334 | 337 |
335 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 338 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
336 }; | 339 }; |
337 | 340 |
338 } // namespace chrome | 341 } // namespace chrome |
339 | 342 |
340 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 343 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |