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

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

Issue 2104193002: Geolocation: Extract GeolocationProvider::Delegate into GeolocationDelegate (no new code) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: jam@ nit: content/browser/geolocation/geolocation_delegate.cc --> content/public/browser Created 4 years, 5 months 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
« no previous file with comments | « content/content_browser.gypi ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
11 #include <memory> 11 #include <memory>
12 #include <string> 12 #include <string>
13 #include <utility> 13 #include <utility>
14 #include <vector> 14 #include <vector>
15 15
16 #include "base/callback_forward.h" 16 #include "base/callback_forward.h"
17 #include "base/memory/scoped_vector.h" 17 #include "base/memory/scoped_vector.h"
18 #include "base/values.h" 18 #include "base/values.h"
19 #include "build/build_config.h" 19 #include "build/build_config.h"
20 #include "content/public/browser/certificate_request_result_type.h" 20 #include "content/public/browser/certificate_request_result_type.h"
21 #include "content/public/browser/geolocation_provider.h"
22 #include "content/public/browser/navigation_throttle.h" 21 #include "content/public/browser/navigation_throttle.h"
23 #include "content/public/common/content_client.h" 22 #include "content/public/common/content_client.h"
24 #include "content/public/common/media_stream_request.h" 23 #include "content/public/common/media_stream_request.h"
25 #include "content/public/common/mojo_application_info.h" 24 #include "content/public/common/mojo_application_info.h"
26 #include "content/public/common/resource_type.h" 25 #include "content/public/common/resource_type.h"
27 #include "content/public/common/socket_permission_request.h" 26 #include "content/public/common/socket_permission_request.h"
28 #include "content/public/common/window_container_type.h" 27 #include "content/public/common/window_container_type.h"
29 #include "media/audio/audio_manager.h" 28 #include "media/audio/audio_manager.h"
30 #include "net/base/mime_util.h" 29 #include "net/base/mime_util.h"
31 #include "net/cookies/canonical_cookie.h" 30 #include "net/cookies/canonical_cookie.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 class AccessTokenStore; 100 class AccessTokenStore;
102 class BrowserChildProcessHost; 101 class BrowserChildProcessHost;
103 class BrowserContext; 102 class BrowserContext;
104 class BrowserMainParts; 103 class BrowserMainParts;
105 class BrowserPluginGuestDelegate; 104 class BrowserPluginGuestDelegate;
106 class BrowserPpapiHost; 105 class BrowserPpapiHost;
107 class BrowserURLHandler; 106 class BrowserURLHandler;
108 class ClientCertificateDelegate; 107 class ClientCertificateDelegate;
109 class DevToolsManagerDelegate; 108 class DevToolsManagerDelegate;
110 class ExternalVideoSurfaceContainer; 109 class ExternalVideoSurfaceContainer;
110 class GeolocationDelegate;
111 class LocationProvider; 111 class LocationProvider;
112 class MediaObserver; 112 class MediaObserver;
113 class NavigationHandle; 113 class NavigationHandle;
114 class PlatformNotificationService; 114 class PlatformNotificationService;
115 class PresentationServiceDelegate; 115 class PresentationServiceDelegate;
116 class QuotaPermissionContext; 116 class QuotaPermissionContext;
117 class RenderFrameHost; 117 class RenderFrameHost;
118 class RenderProcessHost; 118 class RenderProcessHost;
119 class RenderViewHost; 119 class RenderViewHost;
120 class ResourceContext; 120 class ResourceContext;
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 // Allows the embedder to return a delegate for the SpeechRecognitionManager. 526 // Allows the embedder to return a delegate for the SpeechRecognitionManager.
527 // The delegate will be owned by the manager. It's valid to return nullptr. 527 // The delegate will be owned by the manager. It's valid to return nullptr.
528 virtual SpeechRecognitionManagerDelegate* 528 virtual SpeechRecognitionManagerDelegate*
529 CreateSpeechRecognitionManagerDelegate(); 529 CreateSpeechRecognitionManagerDelegate();
530 530
531 // Getters for common objects. 531 // Getters for common objects.
532 virtual net::NetLog* GetNetLog(); 532 virtual net::NetLog* GetNetLog();
533 533
534 // Allows the embedder to provide a Delegate for Geolocation to override some 534 // Allows the embedder to provide a Delegate for Geolocation to override some
535 // functionality of the API (e.g. AccessTokenStore, LocationProvider). 535 // functionality of the API (e.g. AccessTokenStore, LocationProvider).
536 virtual GeolocationProvider::Delegate* CreateGeolocationDelegate(); 536 virtual GeolocationDelegate* CreateGeolocationDelegate();
537 537
538 // Returns true if fast shutdown is possible. 538 // Returns true if fast shutdown is possible.
539 virtual bool IsFastShutdownPossible(); 539 virtual bool IsFastShutdownPossible();
540 540
541 // Called by WebContents to override the WebKit preferences that are used by 541 // Called by WebContents to override the WebKit preferences that are used by
542 // the renderer. The content layer will add its own settings, and then it's up 542 // the renderer. The content layer will add its own settings, and then it's up
543 // to the embedder to update it if it wants. 543 // to the embedder to update it if it wants.
544 virtual void OverrideWebkitPrefs(RenderViewHost* render_view_host, 544 virtual void OverrideWebkitPrefs(RenderViewHost* render_view_host,
545 WebPreferences* prefs) {} 545 WebPreferences* prefs) {}
546 546
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
779 // Allows an embedder to provide its own ExternalVideoSurfaceContainer 779 // Allows an embedder to provide its own ExternalVideoSurfaceContainer
780 // implementation. Return nullptr to disable external surface video. 780 // implementation. Return nullptr to disable external surface video.
781 virtual ExternalVideoSurfaceContainer* 781 virtual ExternalVideoSurfaceContainer*
782 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); 782 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents);
783 #endif 783 #endif
784 }; 784 };
785 785
786 } // namespace content 786 } // namespace content
787 787
788 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 788 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/content_browser.gypi ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698