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

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

Issue 2028823002: Refactor to make BlimpLocationProvider accessible to content layer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses kmarshall's #63 comments Created 4 years, 6 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
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>
(...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after
609 const base::FilePath& storage_partition_path, 609 const base::FilePath& storage_partition_path,
610 ScopedVector<storage::FileSystemBackend>* additional_backends) {} 610 ScopedVector<storage::FileSystemBackend>* additional_backends) {}
611 611
612 // Allows an embedder to return its own LocationProvider implementation. 612 // Allows an embedder to return its own LocationProvider implementation.
613 // Return nullptr to use the default one for the platform to be created. 613 // Return nullptr to use the default one for the platform to be created.
614 // FYI: Used by an external project; please don't remove. 614 // FYI: Used by an external project; please don't remove.
615 // Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more 615 // Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more
616 // information. 616 // information.
617 virtual LocationProvider* OverrideSystemLocationProvider(); 617 virtual LocationProvider* OverrideSystemLocationProvider();
618 618
619 // Returns true if the location API should use network-based
620 // location approximation.
621 virtual bool UseNetworkLocationProviders();
622
619 // Creates a new DevToolsManagerDelegate. The caller owns the returned value. 623 // Creates a new DevToolsManagerDelegate. The caller owns the returned value.
620 // It's valid to return nullptr. 624 // It's valid to return nullptr.
621 virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate(); 625 virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate();
622 626
623 // Creates a new TracingDelegate. The caller owns the returned value. 627 // Creates a new TracingDelegate. The caller owns the returned value.
624 // It's valid to return nullptr. 628 // It's valid to return nullptr.
625 virtual TracingDelegate* GetTracingDelegate(); 629 virtual TracingDelegate* GetTracingDelegate();
626 630
627 // Returns true if plugin referred to by the url can use 631 // Returns true if plugin referred to by the url can use
628 // pp::FileIO::RequestOSFileHandle. 632 // pp::FileIO::RequestOSFileHandle.
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
772 // Allows an embedder to provide its own ExternalVideoSurfaceContainer 776 // Allows an embedder to provide its own ExternalVideoSurfaceContainer
773 // implementation. Return nullptr to disable external surface video. 777 // implementation. Return nullptr to disable external surface video.
774 virtual ExternalVideoSurfaceContainer* 778 virtual ExternalVideoSurfaceContainer*
775 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); 779 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents);
776 #endif 780 #endif
777 }; 781 };
778 782
779 } // namespace content 783 } // namespace content
780 784
781 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 785 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698