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

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: Response to mvanouwerkerk's #21-1, #26 (partial) 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 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 // FileSystemBackends, and SpecialStoragePolicy for permission granting. 611 // FileSystemBackends, and SpecialStoragePolicy for permission granting.
612 virtual void GetAdditionalFileSystemBackends( 612 virtual void GetAdditionalFileSystemBackends(
613 BrowserContext* browser_context, 613 BrowserContext* browser_context,
614 const base::FilePath& storage_partition_path, 614 const base::FilePath& storage_partition_path,
615 ScopedVector<storage::FileSystemBackend>* additional_backends) {} 615 ScopedVector<storage::FileSystemBackend>* additional_backends) {}
616 616
617 // Allows an embedder to return its own LocationProvider implementation. 617 // Allows an embedder to return its own LocationProvider implementation.
618 // Return nullptr to use the default one for the platform to be created. 618 // Return nullptr to use the default one for the platform to be created.
619 // FYI: Used by an external project; please don't remove. 619 // FYI: Used by an external project; please don't remove.
620 // Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more 620 // Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more
621 // information. 621 // information.
Wez 2016/06/01 21:45:19 nit: Now that we're actually using this in Chromiu
CJ 2016/06/01 22:37:10 Maybe keep it in case a refactor removes our use c
Wez 2016/06/10 23:40:34 Acknowledged.
622 virtual LocationProvider* OverrideSystemLocationProvider(); 622 virtual LocationProvider* OverrideSystemLocationProvider();
623 623
624 // Indicates that LocationProviders normally used by a process should be
625 // used.
Wez 2016/06/01 21:45:19 Not sure what "used by a process" means here. I'd
CJ 2016/06/01 22:37:10 It doesn't really fall back on it though? If true,
Wez 2016/06/10 23:40:34 Looks good - you might say "... in addition to the
CJ 2016/06/13 23:45:20 Done.
626 virtual bool UseDefaultLocationProviders();
627
624 // Creates a new DevToolsManagerDelegate. The caller owns the returned value. 628 // Creates a new DevToolsManagerDelegate. The caller owns the returned value.
625 // It's valid to return nullptr. 629 // It's valid to return nullptr.
626 virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate(); 630 virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate();
627 631
628 // Creates a new TracingDelegate. The caller owns the returned value. 632 // Creates a new TracingDelegate. The caller owns the returned value.
629 // It's valid to return nullptr. 633 // It's valid to return nullptr.
630 virtual TracingDelegate* GetTracingDelegate(); 634 virtual TracingDelegate* GetTracingDelegate();
631 635
632 // Returns true if plugin referred to by the url can use 636 // Returns true if plugin referred to by the url can use
633 // pp::FileIO::RequestOSFileHandle. 637 // pp::FileIO::RequestOSFileHandle.
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
777 // Allows an embedder to provide its own ExternalVideoSurfaceContainer 781 // Allows an embedder to provide its own ExternalVideoSurfaceContainer
778 // implementation. Return nullptr to disable external surface video. 782 // implementation. Return nullptr to disable external surface video.
779 virtual ExternalVideoSurfaceContainer* 783 virtual ExternalVideoSurfaceContainer*
780 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); 784 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents);
781 #endif 785 #endif
782 }; 786 };
783 787
784 } // namespace content 788 } // namespace content
785 789
786 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 790 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698