12010-06-11 Steve Block <steveblock@google.com>
2
3 Reviewed by NOBODY (OOPS!).
4
5 Client-based Geolocation does not pass high power option to controller and client
6 https://bugs.webkit.org/show_bug.cgi?id=40374
7
8 This change passes the enableHighAccuracy request option to the GeolocationController.
9 The GeolocationController tracks whether high power should be used by the client.
10
11 No new tests possible as the mock provider doesn't support this feature.
12
13 * page/Geolocation.cpp:
14 (WebCore::Geolocation::setIsAllowed):
15 (WebCore::Geolocation::startUpdating):
16 * page/GeolocationController.cpp:
17 (WebCore::GeolocationController::addObserver):
18 (WebCore::GeolocationController::removeObserver):
19 (WebCore::GeolocationController::useHighPower):
20 (WebCore::GeolocationController::positionChanged):
21 (WebCore::GeolocationController::errorOccurred):
22 * page/GeolocationController.h:
23 * page/GeolocationControllerClient.h:
24