Chromium Code Reviews| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 82 class BrowserPluginGuestDelegate; | 82 class BrowserPluginGuestDelegate; |
| 83 class BrowserPpapiHost; | 83 class BrowserPpapiHost; |
| 84 class BrowserURLHandler; | 84 class BrowserURLHandler; |
| 85 class LocationProvider; | 85 class LocationProvider; |
| 86 class MediaObserver; | 86 class MediaObserver; |
| 87 class QuotaPermissionContext; | 87 class QuotaPermissionContext; |
| 88 class RenderProcessHost; | 88 class RenderProcessHost; |
| 89 class RenderViewHost; | 89 class RenderViewHost; |
| 90 class RenderViewHostDelegateView; | 90 class RenderViewHostDelegateView; |
| 91 class ResourceContext; | 91 class ResourceContext; |
| 92 class ScreenOrientationProvider; | |
| 92 class SiteInstance; | 93 class SiteInstance; |
| 93 class SpeechRecognitionManagerDelegate; | 94 class SpeechRecognitionManagerDelegate; |
| 94 class VibrationProvider; | 95 class VibrationProvider; |
| 95 class WebContents; | 96 class WebContents; |
| 96 class WebContentsViewDelegate; | 97 class WebContentsViewDelegate; |
| 97 class WebContentsViewPort; | 98 class WebContentsViewPort; |
| 98 struct MainFunctionParams; | 99 struct MainFunctionParams; |
| 99 struct Referrer; | 100 struct Referrer; |
| 100 struct ShowDesktopNotificationHostMsgParams; | 101 struct ShowDesktopNotificationHostMsgParams; |
| 101 | 102 |
| (...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 584 // information. | 585 // information. |
| 585 virtual LocationProvider* OverrideSystemLocationProvider(); | 586 virtual LocationProvider* OverrideSystemLocationProvider(); |
| 586 | 587 |
| 587 // Allows an embedder to return its own VibrationProvider implementation. | 588 // Allows an embedder to return its own VibrationProvider implementation. |
| 588 // Return NULL to use the default one for the platform to be created. | 589 // Return NULL to use the default one for the platform to be created. |
| 589 // FYI: Used by an external project; please don't remove. | 590 // FYI: Used by an external project; please don't remove. |
| 590 // Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more | 591 // Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more |
| 591 // information. | 592 // information. |
| 592 virtual VibrationProvider* OverrideVibrationProvider(); | 593 virtual VibrationProvider* OverrideVibrationProvider(); |
| 593 | 594 |
| 595 // Allows an embedder to return its own ScreenOrientationProvider | |
| 596 // implementation. | |
| 597 // Return NULL to use the default one for the platform to be created. | |
| 598 // FYI: Used by an external project; please don't remove. | |
|
kenneth.r.christiansen
2014/02/06 15:03:12
FYI, why not Note,
ostap
2014/02/06 21:23:28
To be consistent with OverrideSystemLocationProvid
| |
| 599 // Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more | |
| 600 // information. | |
| 601 virtual ScreenOrientationProvider* OverrideScreenOrientationProvider(); | |
| 602 | |
| 594 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 603 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
| 595 // Populates |mappings| with all files that need to be mapped before launching | 604 // Populates |mappings| with all files that need to be mapped before launching |
| 596 // a child process. | 605 // a child process. |
| 597 virtual void GetAdditionalMappedFilesForChildProcess( | 606 virtual void GetAdditionalMappedFilesForChildProcess( |
| 598 const CommandLine& command_line, | 607 const CommandLine& command_line, |
| 599 int child_process_id, | 608 int child_process_id, |
| 600 std::vector<FileDescriptorInfo>* mappings) {} | 609 std::vector<FileDescriptorInfo>* mappings) {} |
| 601 #endif | 610 #endif |
| 602 | 611 |
| 603 #if defined(OS_WIN) | 612 #if defined(OS_WIN) |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 617 content::BrowserContext* browser_context, | 626 content::BrowserContext* browser_context, |
| 618 const GURL& url); | 627 const GURL& url); |
| 619 | 628 |
| 620 // Returns true if dev channel APIs are available for plugins. | 629 // Returns true if dev channel APIs are available for plugins. |
| 621 virtual bool IsPluginAllowedToUseDevChannelAPIs(); | 630 virtual bool IsPluginAllowedToUseDevChannelAPIs(); |
| 622 }; | 631 }; |
| 623 | 632 |
| 624 } // namespace content | 633 } // namespace content |
| 625 | 634 |
| 626 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 635 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |