Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Side by Side Diff: content/public/browser/content_browser_client.h

Issue 734123002: Mojify the battery status browsertests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Tim's comments. Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 class DesktopNotificationDelegate; 92 class DesktopNotificationDelegate;
93 class DevToolsManagerDelegate; 93 class DevToolsManagerDelegate;
94 class ExternalVideoSurfaceContainer; 94 class ExternalVideoSurfaceContainer;
95 class LocationProvider; 95 class LocationProvider;
96 class MediaObserver; 96 class MediaObserver;
97 class QuotaPermissionContext; 97 class QuotaPermissionContext;
98 class RenderFrameHost; 98 class RenderFrameHost;
99 class RenderProcessHost; 99 class RenderProcessHost;
100 class RenderViewHost; 100 class RenderViewHost;
101 class ResourceContext; 101 class ResourceContext;
102 class ServiceRegistry;
102 class SiteInstance; 103 class SiteInstance;
103 class SpeechRecognitionManagerDelegate; 104 class SpeechRecognitionManagerDelegate;
104 class VibrationProvider; 105 class VibrationProvider;
105 class WebContents; 106 class WebContents;
106 class WebContentsViewDelegate; 107 class WebContentsViewDelegate;
107 struct MainFunctionParams; 108 struct MainFunctionParams;
108 struct Referrer; 109 struct Referrer;
109 struct ShowDesktopNotificationHostMsgParams; 110 struct ShowDesktopNotificationHostMsgParams;
110 struct WebPreferences; 111 struct WebPreferences;
111 112
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 virtual ExternalVideoSurfaceContainer* 619 virtual ExternalVideoSurfaceContainer*
619 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); 620 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents);
620 #endif 621 #endif
621 622
622 // Checks if |security_origin| has permission to access the microphone or 623 // Checks if |security_origin| has permission to access the microphone or
623 // camera. Note that this does not query the user. |type| must be 624 // camera. Note that this does not query the user. |type| must be
624 // MEDIA_DEVICE_AUDIO_CAPTURE or MEDIA_DEVICE_VIDEO_CAPTURE. 625 // MEDIA_DEVICE_AUDIO_CAPTURE or MEDIA_DEVICE_VIDEO_CAPTURE.
625 virtual bool CheckMediaAccessPermission(BrowserContext* browser_context, 626 virtual bool CheckMediaAccessPermission(BrowserContext* browser_context,
626 const GURL& security_origin, 627 const GURL& security_origin,
627 MediaStreamType type); 628 MediaStreamType type);
629
630 virtual void OverridePerProcessMojoServices(ServiceRegistry* registry);
628 }; 631 };
629 632
630 } // namespace content 633 } // namespace content
631 634
632 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 635 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698