RESOLVED FIXED 123786
[WK2] Add a WebKit2 API for Geolocation's highAccuracy
https://bugs.webkit.org/show_bug.cgi?id=123786
Summary [WK2] Add a WebKit2 API for Geolocation's highAccuracy
Benjamin Poulain
Reported 2013-11-04 20:55:12 PST
[WK2] Add a WebKit2 API for Geolocation's highAccuracy
Attachments
Patch (43.79 KB, patch)
2013-11-04 21:06 PST, Benjamin Poulain
no flags
Patch (43.76 KB, patch)
2013-11-04 21:18 PST, Benjamin Poulain
no flags
Patch (43.94 KB, patch)
2013-11-04 21:43 PST, Benjamin Poulain
no flags
Benjamin Poulain
Comment 1 2013-11-04 21:06:25 PST
Benjamin Poulain
Comment 2 2013-11-04 21:08:46 PST
*** Bug 120136 has been marked as a duplicate of this bug. ***
EFL EWS Bot
Comment 3 2013-11-04 21:16:05 PST
Benjamin Poulain
Comment 4 2013-11-04 21:18:14 PST
EFL EWS Bot
Comment 5 2013-11-04 21:25:46 PST
Benjamin Poulain
Comment 6 2013-11-04 21:43:06 PST
Darin Adler
Comment 7 2013-11-05 09:04:01 PST
Comment on attachment 216001 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=216001&action=review > Source/WebKit2/UIProcess/WebGeolocationManagerProxy.cpp:101 > + m_provider.setEnableHighAccuracy(this, isHighAccuracyEnabled()); > m_provider.startUpdating(this); Too bad we always have to send two messages here. Seems to me that we could have startUpdating take the high accuracy boolean, and/or combine startUpdating and setEnableHighAccuracy into a single message.
Benjamin Poulain
Comment 8 2013-11-05 13:13:46 PST
(In reply to comment #7) > (From update of attachment 216001 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=216001&action=review > > > Source/WebKit2/UIProcess/WebGeolocationManagerProxy.cpp:101 > > + m_provider.setEnableHighAccuracy(this, isHighAccuracyEnabled()); > > m_provider.startUpdating(this); > > Too bad we always have to send two messages here. Seems to me that we could have startUpdating take the high accuracy boolean, and/or combine startUpdating and setEnableHighAccuracy into a single message. Most system do not handle setEnableHighAccuracy() and the callback function will be null. I could make a new startUpdating but I don't think it is worth is since the other API is already widely used.
Benjamin Poulain
Comment 9 2013-11-05 13:15:07 PST
Comment on attachment 216001 [details] Patch Clearing flags on attachment: 216001 Committed r158689: <http://trac.webkit.org/changeset/158689>
Benjamin Poulain
Comment 10 2013-11-05 13:15:09 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.