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 CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 namespace content { | 81 namespace content { |
82 | 82 |
83 class AccessTokenStore; | 83 class AccessTokenStore; |
84 class BrowserChildProcessHost; | 84 class BrowserChildProcessHost; |
85 class BrowserContext; | 85 class BrowserContext; |
86 class BrowserMainParts; | 86 class BrowserMainParts; |
87 class BrowserPluginGuestDelegate; | 87 class BrowserPluginGuestDelegate; |
88 class BrowserPpapiHost; | 88 class BrowserPpapiHost; |
89 class BrowserURLHandler; | 89 class BrowserURLHandler; |
90 class DesktopNotificationDelegate; | 90 class DesktopNotificationDelegate; |
| 91 class DevToolsManagerDelegate; |
91 class ExternalVideoSurfaceContainer; | 92 class ExternalVideoSurfaceContainer; |
92 class LocationProvider; | 93 class LocationProvider; |
93 class MediaObserver; | 94 class MediaObserver; |
94 class QuotaPermissionContext; | 95 class QuotaPermissionContext; |
95 class RenderFrameHost; | 96 class RenderFrameHost; |
96 class RenderProcessHost; | 97 class RenderProcessHost; |
97 class RenderViewHost; | 98 class RenderViewHost; |
98 class ResourceContext; | 99 class ResourceContext; |
99 class SiteInstance; | 100 class SiteInstance; |
100 class SpeechRecognitionManagerDelegate; | 101 class SpeechRecognitionManagerDelegate; |
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
586 // information. | 587 // information. |
587 virtual LocationProvider* OverrideSystemLocationProvider(); | 588 virtual LocationProvider* OverrideSystemLocationProvider(); |
588 | 589 |
589 // Allows an embedder to return its own VibrationProvider implementation. | 590 // Allows an embedder to return its own VibrationProvider implementation. |
590 // Return NULL to use the default one for the platform to be created. | 591 // Return NULL to use the default one for the platform to be created. |
591 // FYI: Used by an external project; please don't remove. | 592 // FYI: Used by an external project; please don't remove. |
592 // Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more | 593 // Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more |
593 // information. | 594 // information. |
594 virtual VibrationProvider* OverrideVibrationProvider(); | 595 virtual VibrationProvider* OverrideVibrationProvider(); |
595 | 596 |
| 597 // Creates a new DevToolsManagerDelegate. The caller owns the returned value. |
| 598 // It's valid to return NULL. |
| 599 virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate(); |
| 600 |
596 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 601 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
597 // Populates |mappings| with all files that need to be mapped before launching | 602 // Populates |mappings| with all files that need to be mapped before launching |
598 // a child process. | 603 // a child process. |
599 virtual void GetAdditionalMappedFilesForChildProcess( | 604 virtual void GetAdditionalMappedFilesForChildProcess( |
600 const base::CommandLine& command_line, | 605 const base::CommandLine& command_line, |
601 int child_process_id, | 606 int child_process_id, |
602 std::vector<FileDescriptorInfo>* mappings) {} | 607 std::vector<FileDescriptorInfo>* mappings) {} |
603 #endif | 608 #endif |
604 | 609 |
605 #if defined(OS_WIN) | 610 #if defined(OS_WIN) |
(...skipping 26 matching lines...) Expand all Loading... |
632 // Allows an embedder to provide its own ExternalVideoSurfaceContainer | 637 // Allows an embedder to provide its own ExternalVideoSurfaceContainer |
633 // implementation. Return NULL to disable external surface video. | 638 // implementation. Return NULL to disable external surface video. |
634 virtual ExternalVideoSurfaceContainer* | 639 virtual ExternalVideoSurfaceContainer* |
635 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); | 640 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); |
636 #endif | 641 #endif |
637 }; | 642 }; |
638 | 643 |
639 } // namespace content | 644 } // namespace content |
640 | 645 |
641 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 646 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |