forked from WebKit/WebKit-http
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GTK][WPE] Add API to provide geolocation information
https://bugs.webkit.org/show_bug.cgi?id=195940 Reviewed by Michael Catanzaro. .: Build with geolocation enabled by default in both GTK and WPE. In GTK add a specific USE_GEOCLUE build option instead of using ENABLE_GEOLOCATION. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: Source/WebCore: Replace ENABLE(GEOLOCATION) with USE(GEOCLUE). * PlatformGTK.cmake: * platform/geoclue/GeolocationProviderGeoclue.cpp: * platform/geoclue/GeolocationProviderGeoclue.h: * platform/geoclue/GeolocationProviderGeoclueClient.h: Source/WebCore/platform/gtk/po: * POTFILES.in: Add WebKitGeolocationManager.cpp. Source/WebKit: Add WebKitGeolocationManager public class to handle geolocation position updates. WebKitGeolocationProvider has been removed and the default implementation based on GeoClue is done by WebKitGeolocationManager. * PlatformGTK.cmake: * PlatformWPE.cmake: * SourcesGTK.txt: * SourcesWPE.txt: * UIProcess/API/glib/WebKitGeolocationManager.cpp: Added. (_WebKitGeolocationPosition::_WebKitGeolocationPosition): (webkit_geolocation_position_new): (webkit_geolocation_position_copy): (webkit_geolocation_position_free): (webkit_geolocation_position_set_timestamp): (webkit_geolocation_position_set_altitude): (webkit_geolocation_position_set_altitude_accuracy): (webkit_geolocation_position_set_heading): (webkit_geolocation_position_set_speed): (webkitGeolocationManagerStop): (webkitGeolocationManagerSetEnableHighAccuracy): (webkitGeolocationManagerCreate): (webkitGeolocationManagerGetProperty): (webkit_geolocation_manager_class_init): (webkit_gelocation_manager_update_position): (webkit_gelocation_manager_failed): (webkit_geolocation_manager_get_enable_high_accuracy): * UIProcess/API/glib/WebKitGeolocationManagerPrivate.h: Copied from Source/WebCore/platform/geoclue/GeolocationProviderGeoclueClient.h. * UIProcess/API/glib/WebKitGeolocationProvider.cpp: Removed. * UIProcess/API/glib/WebKitGeolocationProvider.h: Removed. * UIProcess/API/glib/WebKitWebContext.cpp: (webkitWebContextConstructed): Create a WebKitGeolocationManager instead of a WebKitGeolocationProvider. (webkit_web_context_get_geolocation_manager): Get the WebKitGeolocationManager. * UIProcess/API/gtk/WebKitGeolocationManager.h: Added. * UIProcess/API/gtk/WebKitWebContext.h: * UIProcess/API/gtk/docs/webkit2gtk-4.0-sections.txt: * UIProcess/API/gtk/docs/webkit2gtk-4.0.types: * UIProcess/API/gtk/docs/webkit2gtk-docs.sgml: * UIProcess/API/gtk/webkit2.h: * UIProcess/API/wpe/WebKitGeolocationManager.h: Added. * UIProcess/API/wpe/WebKitWebContext.h: * UIProcess/API/wpe/docs/wpe-0.1-sections.txt: * UIProcess/API/wpe/docs/wpe-docs.sgml: * UIProcess/API/wpe/webkit.h: Tools: Add a new test to check the new API. * TestWebKitAPI/Tests/WebKitGLib/TestGeolocationManager.cpp: Added. (testGeolocationManagerCurrentPosition): (testGeolocationManagerWatchPosition): (beforeAll): (afterAll): * TestWebKitAPI/Tests/WebKitGLib/TestUIClient.cpp: (testWebViewGeolocationPermissionRequests): Stop using ENABLE(GEOLOCATION) conditionals for geolocation tests. (beforeAll): Ditto. * TestWebKitAPI/glib/CMakeLists.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@243285 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
97a555f
commit 389b561
Showing
35 changed files
with
1,308 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,16 @@ | ||
2019-03-21 Carlos Garcia Campos <[email protected]> | ||
|
||
[GTK][WPE] Add API to provide geolocation information | ||
https://bugs.webkit.org/show_bug.cgi?id=195940 | ||
|
||
Reviewed by Michael Catanzaro. | ||
|
||
Build with geolocation enabled by default in both GTK and WPE. In GTK add a specific USE_GEOCLUE build option | ||
instead of using ENABLE_GEOLOCATION. | ||
|
||
* Source/cmake/OptionsGTK.cmake: | ||
* Source/cmake/OptionsWPE.cmake: | ||
|
||
2019-03-20 Simon Fraser <[email protected]> | ||
|
||
Rename ENABLE_ACCELERATED_OVERFLOW_SCROLLING macro to ENABLE_OVERFLOW_SCROLLING_TOUCH | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
2019-03-21 Carlos Garcia Campos <[email protected]> | ||
|
||
[GTK][WPE] Add API to provide geolocation information | ||
https://bugs.webkit.org/show_bug.cgi?id=195940 | ||
|
||
Reviewed by Michael Catanzaro. | ||
|
||
Replace ENABLE(GEOLOCATION) with USE(GEOCLUE). | ||
|
||
* PlatformGTK.cmake: | ||
* platform/geoclue/GeolocationProviderGeoclue.cpp: | ||
* platform/geoclue/GeolocationProviderGeoclue.h: | ||
* platform/geoclue/GeolocationProviderGeoclueClient.h: | ||
|
||
2019-03-21 Carlos Garcia Campos <[email protected]> | ||
|
||
[WPE] Confusing messages in stderr when surfaceless context is not supported | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
2019-03-21 Carlos Garcia Campos <[email protected]> | ||
|
||
[GTK][WPE] Add API to provide geolocation information | ||
https://bugs.webkit.org/show_bug.cgi?id=195940 | ||
|
||
Reviewed by Michael Catanzaro. | ||
|
||
* POTFILES.in: Add WebKitGeolocationManager.cpp. | ||
|
||
2019-03-13 Milo Casagrande <[email protected]> | ||
|
||
[l10n] Updated Italian translation of WebKitGTK+ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,53 @@ | ||
2019-03-21 Carlos Garcia Campos <[email protected]> | ||
|
||
[GTK][WPE] Add API to provide geolocation information | ||
https://bugs.webkit.org/show_bug.cgi?id=195940 | ||
|
||
Reviewed by Michael Catanzaro. | ||
|
||
Add WebKitGeolocationManager public class to handle geolocation position updates. WebKitGeolocationProvider has | ||
been removed and the default implementation based on GeoClue is done by WebKitGeolocationManager. | ||
|
||
* PlatformGTK.cmake: | ||
* PlatformWPE.cmake: | ||
* SourcesGTK.txt: | ||
* SourcesWPE.txt: | ||
* UIProcess/API/glib/WebKitGeolocationManager.cpp: Added. | ||
(_WebKitGeolocationPosition::_WebKitGeolocationPosition): | ||
(webkit_geolocation_position_new): | ||
(webkit_geolocation_position_copy): | ||
(webkit_geolocation_position_free): | ||
(webkit_geolocation_position_set_timestamp): | ||
(webkit_geolocation_position_set_altitude): | ||
(webkit_geolocation_position_set_altitude_accuracy): | ||
(webkit_geolocation_position_set_heading): | ||
(webkit_geolocation_position_set_speed): | ||
(webkitGeolocationManagerStop): | ||
(webkitGeolocationManagerSetEnableHighAccuracy): | ||
(webkitGeolocationManagerCreate): | ||
(webkitGeolocationManagerGetProperty): | ||
(webkit_geolocation_manager_class_init): | ||
(webkit_gelocation_manager_update_position): | ||
(webkit_gelocation_manager_failed): | ||
(webkit_geolocation_manager_get_enable_high_accuracy): | ||
* UIProcess/API/glib/WebKitGeolocationManagerPrivate.h: Copied from Source/WebCore/platform/geoclue/GeolocationProviderGeoclueClient.h. | ||
* UIProcess/API/glib/WebKitGeolocationProvider.cpp: Removed. | ||
* UIProcess/API/glib/WebKitGeolocationProvider.h: Removed. | ||
* UIProcess/API/glib/WebKitWebContext.cpp: | ||
(webkitWebContextConstructed): Create a WebKitGeolocationManager instead of a WebKitGeolocationProvider. | ||
(webkit_web_context_get_geolocation_manager): Get the WebKitGeolocationManager. | ||
* UIProcess/API/gtk/WebKitGeolocationManager.h: Added. | ||
* UIProcess/API/gtk/WebKitWebContext.h: | ||
* UIProcess/API/gtk/docs/webkit2gtk-4.0-sections.txt: | ||
* UIProcess/API/gtk/docs/webkit2gtk-4.0.types: | ||
* UIProcess/API/gtk/docs/webkit2gtk-docs.sgml: | ||
* UIProcess/API/gtk/webkit2.h: | ||
* UIProcess/API/wpe/WebKitGeolocationManager.h: Added. | ||
* UIProcess/API/wpe/WebKitWebContext.h: | ||
* UIProcess/API/wpe/docs/wpe-0.1-sections.txt: | ||
* UIProcess/API/wpe/docs/wpe-docs.sgml: | ||
* UIProcess/API/wpe/webkit.h: | ||
|
||
2019-03-20 Youenn Fablet <[email protected]> | ||
|
||
Compute quota after network process restart based on default quota and space used | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.