Windows.Devices.Geolocation WinRT API in Chromium
First step for implementing usage of the
Windows.Devices.Geolocation WinRT API in Chromium to enable the
geolocation api to provide a more accurate geolocation position
if available, this CL:
- Introduces a feature flag (disabled by default) to add
a LocationProvider implementation using the
Windows.Devices.Geolocation API.
- Adds a skeleton LocationProviderWinrt.
Bug: 968883
Change-Id: I0a739551a13266ff22cb3de8b1480165916f25c9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1814391
Commit-Queue: Peter Lavallee <[email protected]>
Reviewed-by: Reilly Grant <[email protected]>
Cr-Commit-Position: refs/heads/master@{#703446}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 3ced043..9c7c6fdb 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -4636,6 +4636,13 @@
FEATURE_VALUE_TYPE(chromeos::assistant::features::kAssistantAudioEraser)},
#endif
+#if defined(OS_WIN)
+ {"enable-winrt-geolocation-implementation",
+ flag_descriptions::kWinrtGeolocationImplementationName,
+ flag_descriptions::kWinrtGeolocationImplementationDescription, kOsWin,
+ FEATURE_VALUE_TYPE(features::kWinrtGeolocationImplementation)},
+#endif
+
#if defined(OS_CHROMEOS)
{"exo-pointer-lock", flag_descriptions::kExoPointerLockName,
flag_descriptions::kExoPointerLockDescription, kOsCrOS,