Commit 623fb880 authored by abarth@webkit.org's avatar abarth@webkit.org

Move Geolocation code into Modules/geolocation

https://bugs.webkit.org/show_bug.cgi?id=79204

Reviewed by Hajime Morita.

There are still some dangling references into the Geolocation module,
which I will clean up in a followup patch.

* CMakeLists.txt:
* DerivedSources.make:
* DerivedSources.pri:
* GNUmakefile.list.am:
* Modules/geolocation/Geolocation.cpp: Copied from Source/WebCore/page/Geolocation.cpp.
* Modules/geolocation/Geolocation.h: Copied from Source/WebCore/page/Geolocation.h.
* Modules/geolocation/Geolocation.idl: Copied from Source/WebCore/page/Geolocation.idl.
* Modules/geolocation/GeolocationController.cpp: Copied from Source/WebCore/page/GeolocationController.cpp.
* Modules/geolocation/GeolocationController.h: Copied from Source/WebCore/page/GeolocationController.h.
* Modules/geolocation/GeolocationError.h: Copied from Source/WebCore/page/GeolocationError.h.
* Modules/geolocation/GeolocationPosition.h: Copied from Source/WebCore/page/GeolocationPosition.h.
* Modules/geolocation/Geoposition.h: Copied from Source/WebCore/page/Geoposition.h.
* Modules/geolocation/Geoposition.idl: Copied from Source/WebCore/page/Geoposition.idl.
* Modules/geolocation/PositionCallback.h: Copied from Source/WebCore/page/PositionCallback.h.
* Modules/geolocation/PositionCallback.idl: Copied from Source/WebCore/page/PositionCallback.idl.
* Modules/geolocation/PositionError.h: Copied from Source/WebCore/page/PositionError.h.
* Modules/geolocation/PositionError.idl: Copied from Source/WebCore/page/PositionError.idl.
* Modules/geolocation/PositionErrorCallback.h: Copied from Source/WebCore/page/PositionErrorCallback.h.
* Modules/geolocation/PositionErrorCallback.idl: Copied from Source/WebCore/page/PositionErrorCallback.idl.
* Modules/geolocation/PositionOptions.h: Copied from Source/WebCore/page/PositionOptions.h.
* Target.pri:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* page/Geolocation.cpp: Removed.
* page/Geolocation.h: Removed.
* page/Geolocation.idl: Removed.
* page/GeolocationController.cpp: Removed.
* page/GeolocationController.h: Removed.
* page/GeolocationError.h: Removed.
* page/GeolocationPosition.h: Removed.
* page/Geoposition.h: Removed.
* page/Geoposition.idl: Removed.
* page/PositionCallback.h: Removed.
* page/PositionCallback.idl: Removed.
* page/PositionError.h: Removed.
* page/PositionError.idl: Removed.
* page/PositionErrorCallback.h: Removed.
* page/PositionErrorCallback.idl: Removed.
* page/PositionOptions.h: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108464 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent bf183555
......@@ -108,7 +108,12 @@ SET(WebCore_IDL_INCLUDES
)
SET(WebCore_IDL_FILES
Modules/geolocation/Geolocation.idl
Modules/geolocation/Geoposition.idl
Modules/geolocation/NavigatorGeolocation.idl
Modules/geolocation/PositionCallback.idl
Modules/geolocation/PositionError.idl
Modules/geolocation/PositionErrorCallback.idl
css/Counter.idl
css/CSSCharsetRule.idl
......@@ -333,8 +338,6 @@ SET(WebCore_IDL_FILES
page/DOMSelection.idl
page/DOMWindow.idl
page/EventSource.idl
page/Geolocation.idl
page/Geoposition.idl
page/History.idl
page/Location.idl
page/MemoryInfo.idl
......@@ -342,9 +345,6 @@ SET(WebCore_IDL_FILES
page/Performance.idl
page/PerformanceNavigation.idl
page/PerformanceTiming.idl
page/PositionCallback.idl
page/PositionError.idl
page/PositionErrorCallback.idl
page/Screen.idl
page/SpeechInputEvent.idl
page/SpeechInputResult.idl
......@@ -405,6 +405,8 @@ SET(WebCore_IDL_FILES
)
SET(WebCore_SOURCES
Modules/geolocation/Geolocation.cpp
Modules/geolocation/GeolocationController.cpp
Modules/geolocation/NavigatorGeolocation.cpp
accessibility/AXObjectCache.cpp
......@@ -1021,8 +1023,6 @@ SET(WebCore_SOURCES
page/FrameDestructionObserver.cpp
page/FrameTree.cpp
page/FrameView.cpp
page/Geolocation.cpp
page/GeolocationController.cpp
page/GroupSettings.cpp
page/History.cpp
page/Location.cpp
......
2012-02-22 Adam Barth <abarth@webkit.org>
Move Geolocation code into Modules/geolocation
https://bugs.webkit.org/show_bug.cgi?id=79204
Reviewed by Hajime Morita.
There are still some dangling references into the Geolocation module,
which I will clean up in a followup patch.
* CMakeLists.txt:
* DerivedSources.make:
* DerivedSources.pri:
* GNUmakefile.list.am:
* Modules/geolocation/Geolocation.cpp: Copied from Source/WebCore/page/Geolocation.cpp.
* Modules/geolocation/Geolocation.h: Copied from Source/WebCore/page/Geolocation.h.
* Modules/geolocation/Geolocation.idl: Copied from Source/WebCore/page/Geolocation.idl.
* Modules/geolocation/GeolocationController.cpp: Copied from Source/WebCore/page/GeolocationController.cpp.
* Modules/geolocation/GeolocationController.h: Copied from Source/WebCore/page/GeolocationController.h.
* Modules/geolocation/GeolocationError.h: Copied from Source/WebCore/page/GeolocationError.h.
* Modules/geolocation/GeolocationPosition.h: Copied from Source/WebCore/page/GeolocationPosition.h.
* Modules/geolocation/Geoposition.h: Copied from Source/WebCore/page/Geoposition.h.
* Modules/geolocation/Geoposition.idl: Copied from Source/WebCore/page/Geoposition.idl.
* Modules/geolocation/PositionCallback.h: Copied from Source/WebCore/page/PositionCallback.h.
* Modules/geolocation/PositionCallback.idl: Copied from Source/WebCore/page/PositionCallback.idl.
* Modules/geolocation/PositionError.h: Copied from Source/WebCore/page/PositionError.h.
* Modules/geolocation/PositionError.idl: Copied from Source/WebCore/page/PositionError.idl.
* Modules/geolocation/PositionErrorCallback.h: Copied from Source/WebCore/page/PositionErrorCallback.h.
* Modules/geolocation/PositionErrorCallback.idl: Copied from Source/WebCore/page/PositionErrorCallback.idl.
* Modules/geolocation/PositionOptions.h: Copied from Source/WebCore/page/PositionOptions.h.
* Target.pri:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* page/Geolocation.cpp: Removed.
* page/Geolocation.h: Removed.
* page/Geolocation.idl: Removed.
* page/GeolocationController.cpp: Removed.
* page/GeolocationController.h: Removed.
* page/GeolocationError.h: Removed.
* page/GeolocationPosition.h: Removed.
* page/Geoposition.h: Removed.
* page/Geoposition.idl: Removed.
* page/PositionCallback.h: Removed.
* page/PositionCallback.idl: Removed.
* page/PositionError.h: Removed.
* page/PositionError.idl: Removed.
* page/PositionErrorCallback.h: Removed.
* page/PositionErrorCallback.idl: Removed.
* page/PositionOptions.h: Removed.
2012-02-22 Frederik Gladhorn <frederik.gladhorn@nokia.com>
[gtk] Accessibility: use find funtion in vector instead of for.
......@@ -54,7 +54,12 @@ VPATH = \
#
BINDING_IDLS = \
$(WebCore)/Modules/geolocation/Geolocation.idl \
$(WebCore)/Modules/geolocation/Geoposition.idl \
$(WebCore)/Modules/geolocation/NavigatorGeolocation.idl \
$(WebCore)/Modules/geolocation/PositionCallback.idl \
$(WebCore)/Modules/geolocation/PositionError.idl \
$(WebCore)/Modules/geolocation/PositionErrorCallback.idl \
$(WebCore)/css/CSSCharsetRule.idl \
$(WebCore)/css/CSSFontFaceRule.idl \
$(WebCore)/css/CSSImportRule.idl \
......@@ -319,8 +324,6 @@ BINDING_IDLS = \
$(WebCore)/page/DOMSelection.idl \
$(WebCore)/page/DOMWindow.idl \
$(WebCore)/page/EventSource.idl \
$(WebCore)/page/Geolocation.idl \
$(WebCore)/page/Geoposition.idl \
$(WebCore)/page/History.idl \
$(WebCore)/page/Location.idl \
$(WebCore)/page/MemoryInfo.idl \
......@@ -328,9 +331,6 @@ BINDING_IDLS = \
$(WebCore)/page/Performance.idl \
$(WebCore)/page/PerformanceNavigation.idl \
$(WebCore)/page/PerformanceTiming.idl \
$(WebCore)/page/PositionCallback.idl \
$(WebCore)/page/PositionError.idl \
$(WebCore)/page/PositionErrorCallback.idl \
$(WebCore)/page/Screen.idl \
$(WebCore)/page/SpeechInputEvent.idl \
$(WebCore)/page/SpeechInputResult.idl \
......
......@@ -86,7 +86,12 @@ STYLESHEETS_EMBED = \
$$PWD/css/mobileThemeQt.css
IDL_BINDINGS += \
$$PWD/Modules/geolocation/Geolocation.idl \
$$PWD/Modules/geolocation/Geoposition.idl \
$$PWD/Modules/geolocation/NavigatorGeolocation.idl \
$$PWD/Modules/geolocation/PositionCallback.idl \
$$PWD/Modules/geolocation/PositionError.idl \
$$PWD/Modules/geolocation/PositionErrorCallback.idl \
$$PWD/css/Counter.idl \
$$PWD/css/CSSCharsetRule.idl \
$$PWD/css/CSSFontFaceRule.idl \
......@@ -343,8 +348,6 @@ IDL_BINDINGS += \
$$PWD/page/DOMSelection.idl \
$$PWD/page/DOMWindow.idl \
$$PWD/page/EventSource.idl \
$$PWD/page/Geolocation.idl \
$$PWD/page/Geoposition.idl \
$$PWD/page/History.idl \
$$PWD/page/Location.idl \
$$PWD/page/MemoryInfo.idl \
......@@ -352,9 +355,6 @@ IDL_BINDINGS += \
$$PWD/page/Performance.idl \
$$PWD/page/PerformanceNavigation.idl \
$$PWD/page/PerformanceTiming.idl \
$$PWD/page/PositionCallback.idl \
$$PWD/page/PositionError.idl \
$$PWD/page/PositionErrorCallback.idl \
$$PWD/page/Screen.idl \
$$PWD/page/SpeechInputEvent.idl \
$$PWD/page/SpeechInputResult.idl \
......
......@@ -650,7 +650,12 @@ webcore_built_sources += \
DerivedSources/WebCore/XPathGrammar.h
dom_binding_idls += \
$(WebCore)/Modules/geolocation/Geolocation.idl \
$(WebCore)/Modules/geolocation/Geoposition.idl \
$(WebCore)/Modules/geolocation/NavigatorGeolocation.idl \
$(WebCore)/Modules/geolocation/PositionCallback.idl \
$(WebCore)/Modules/geolocation/PositionError.idl \
$(WebCore)/Modules/geolocation/PositionErrorCallback.idl \
$(WebCore)/css/CSSCharsetRule.idl \
$(WebCore)/css/CSSFontFaceRule.idl \
$(WebCore)/css/CSSImportRule.idl \
......@@ -898,8 +903,6 @@ dom_binding_idls += \
$(WebCore)/page/DOMSelection.idl \
$(WebCore)/page/DOMWindow.idl \
$(WebCore)/page/EventSource.idl \
$(WebCore)/page/Geolocation.idl \
$(WebCore)/page/Geoposition.idl \
$(WebCore)/page/History.idl \
$(WebCore)/page/Location.idl \
$(WebCore)/page/MemoryInfo.idl \
......@@ -907,9 +910,6 @@ dom_binding_idls += \
$(WebCore)/page/Performance.idl \
$(WebCore)/page/PerformanceNavigation.idl \
$(WebCore)/page/PerformanceTiming.idl \
$(WebCore)/page/PositionCallback.idl \
$(WebCore)/page/PositionError.idl \
$(WebCore)/page/PositionErrorCallback.idl \
$(WebCore)/page/Screen.idl \
$(WebCore)/page/SpeechInputEvent.idl \
$(WebCore)/page/SpeechInputResult.idl \
......@@ -952,8 +952,19 @@ dom_binding_idls += \
$(WebCore)/xml/XSLTProcessor.idl
webcore_sources += \
Source/WebCore/Modules/geolocation/Geolocation.cpp \
Source/WebCore/Modules/geolocation/Geolocation.h \
Source/WebCore/Modules/geolocation/GeolocationController.cpp \
Source/WebCore/Modules/geolocation/GeolocationController.h \
Source/WebCore/Modules/geolocation/GeolocationError.h \
Source/WebCore/Modules/geolocation/GeolocationPosition.h \
Source/WebCore/Modules/geolocation/Geoposition.h \
Source/WebCore/Modules/geolocation/NavigatorGeolocation.cpp \
Source/WebCore/Modules/geolocation/NavigatorGeolocation.h \
Source/WebCore/Modules/geolocation/PositionCallback.h \
Source/WebCore/Modules/geolocation/PositionError.h \
Source/WebCore/Modules/geolocation/PositionErrorCallback.h \
Source/WebCore/Modules/geolocation/PositionOptions.h \
Source/WebCore/accessibility/AccessibilityARIAGridCell.cpp \
Source/WebCore/accessibility/AccessibilityARIAGridCell.h \
Source/WebCore/accessibility/AccessibilityARIAGrid.cpp \
......@@ -2715,14 +2726,7 @@ webcore_sources += \
Source/WebCore/page/FrameTree.h \
Source/WebCore/page/FrameView.cpp \
Source/WebCore/page/FrameView.h \
Source/WebCore/page/Geolocation.cpp \
Source/WebCore/page/Geolocation.h \
Source/WebCore/page/GeolocationClient.h \
Source/WebCore/page/GeolocationController.cpp \
Source/WebCore/page/GeolocationController.h \
Source/WebCore/page/GeolocationError.h \
Source/WebCore/page/GeolocationPosition.h \
Source/WebCore/page/Geoposition.h \
Source/WebCore/page/GestureTapHighlighter.cpp \
Source/WebCore/page/GestureTapHighlighter.h \
Source/WebCore/page/GroupSettings.cpp \
......@@ -2767,10 +2771,6 @@ webcore_sources += \
Source/WebCore/page/PointerLock.h \
Source/WebCore/page/PointerLockController.cpp \
Source/WebCore/page/PointerLockController.h \
Source/WebCore/page/PositionCallback.h \
Source/WebCore/page/PositionError.h \
Source/WebCore/page/PositionErrorCallback.h \
Source/WebCore/page/PositionOptions.h \
Source/WebCore/page/PrintContext.cpp \
Source/WebCore/page/PrintContext.h \
Source/WebCore/page/Screen.cpp \
......
......@@ -34,6 +34,8 @@ include_webinspector {
}
SOURCES += \
Modules/geolocation/Geolocation.cpp \
Modules/geolocation/GeolocationController.cpp \
Modules/geolocation/NavigatorGeolocation.cpp \
\
accessibility/AccessibilityImageMapLink.cpp \
......@@ -991,8 +993,6 @@ SOURCES += \
page/FrameDestructionObserver.cpp \
page/FrameTree.cpp \
page/FrameView.cpp \
page/Geolocation.cpp \
page/GeolocationController.cpp \
page/GestureTapHighlighter.cpp \
page/GroupSettings.cpp \
page/History.cpp \
......
......@@ -3,6 +3,15 @@
'project_dir': ['.'],
# These headers are part of WebCore's private API in the Apple Mac build.
'webcore_privateheader_files': [
'Modules/geolocation/Geolocation.h',
'Modules/geolocation/GeolocationController.h',
'Modules/geolocation/GeolocationError.h',
'Modules/geolocation/GeolocationPosition.h',
'Modules/geolocation/Geoposition.h',
'Modules/geolocation/PositionCallback.h',
'Modules/geolocation/PositionError.h',
'Modules/geolocation/PositionErrorCallback.h',
'Modules/geolocation/PositionOptions.h',
'accessibility/AXObjectCache.h',
'accessibility/AccessibilityObject.h',
'bindings/ScriptControllerBase.h',
......@@ -207,12 +216,7 @@
'page/Frame.h',
'page/FrameTree.h',
'page/FrameView.h',
'page/Geolocation.h',
'page/GeolocationClient.h',
'page/GeolocationController.h',
'page/GeolocationError.h',
'page/GeolocationPosition.h',
'page/Geoposition.h',
'page/GroupSettings.h',
'page/MediaCanStartListener.h',
'page/MemoryInfo.h',
......@@ -221,10 +225,6 @@
'page/PageSerializer.h',
'page/PageSupplement.h',
'page/PageVisibilityState.h',
'page/PositionCallback.h',
'page/PositionError.h',
'page/PositionErrorCallback.h',
'page/PositionOptions.h',
'page/PrintContext.h',
'page/SecurityOrigin.h',
'page/SecurityOriginHash.h',
......@@ -720,7 +720,12 @@
'Modules/gamepad/Gamepad.idl',
'Modules/gamepad/GamepadList.idl',
'Modules/gamepad/NavigatorGamepad.idl',
'Modules/geolocation/Geolocation.idl',
'Modules/geolocation/Geoposition.idl',
'Modules/geolocation/NavigatorGeolocation.idl',
'Modules/geolocation/PositionCallback.idl',
'Modules/geolocation/PositionError.idl',
'Modules/geolocation/PositionErrorCallback.idl',
'Modules/indexeddb/DOMWindowIndexedDatabase.idl',
'Modules/intents/DOMWindowIntents.idl',
'Modules/intents/Intent.idl',
......@@ -1006,8 +1011,6 @@
'page/DOMSelection.idl',
'page/DOMWindow.idl',
'page/EventSource.idl',
'page/Geolocation.idl',
'page/Geoposition.idl',
'page/History.idl',
'page/Location.idl',
'page/MemoryInfo.idl',
......@@ -1017,9 +1020,6 @@
'page/PerformanceNavigation.idl',
'page/PerformanceTiming.idl',
'page/PointerLock.idl',
'page/PositionCallback.idl',
'page/PositionError.idl',
'page/PositionErrorCallback.idl',
'page/Screen.idl',
'page/SpeechInputEvent.idl',
'page/SpeechInputResult.idl',
......@@ -1279,6 +1279,8 @@
'Modules/gamepad/GamepadList.h',
'Modules/gamepad/NavigatorGamepad.cpp',
'Modules/gamepad/NavigatorGamepad.h',
'Modules/geolocation/Geolocation.cpp',
'Modules/geolocation/GeolocationController.cpp',
'Modules/geolocation/NavigatorGeolocation.cpp',
'Modules/geolocation/NavigatorGeolocation.h',
'Modules/indexeddb/DOMWindowIndexedDatabase.cpp',
......@@ -2629,8 +2631,6 @@
'page/FrameDestructionObserver.h',
'page/FrameTree.cpp',
'page/FrameView.cpp',
'page/Geolocation.cpp',
'page/GeolocationController.cpp',
'page/GroupSettings.cpp',
'page/History.cpp',
'page/History.h',
......
......@@ -24056,6 +24056,34 @@
<Filter
Name="geolocation"
>
<File
RelativePath="..\Modules\geolocation\Geolocation.cpp"
>
</File>
<File
RelativePath="..\Modules\geolocation\Geolocation.h"
>
</File>
<File
RelativePath="..\Modules\geolocation\GeolocationController.cpp"
>
</File>
<File
RelativePath="..\Modules\geolocation\GeolocationController.h"
>
</File>
<File
RelativePath="..\Modules\geolocation\GeolocationError.h"
>
</File>
<File
RelativePath="..\Modules\geolocation\GeolocationPosition.h"
>
</File>
<File
RelativePath="..\Modules\geolocation\Geoposition.h"
>
</File>
<File
RelativePath="..\Modules\geolocation\NavigatorGeolocation.cpp"
>
......@@ -24064,6 +24092,22 @@
RelativePath="..\Modules\geolocation\NavigatorGeolocation.h"
>
</File>
<File
RelativePath="..\Modules\geolocation\PositionCallback.h"
>
</File>
<File
RelativePath="..\Modules\geolocation\PositionError.h"
>
</File>
<File
RelativePath="..\Modules\geolocation\PositionErrorCallback.h"
>
</File>
<File
RelativePath="..\Modules\geolocation\PositionOptions.h"
>
</File>
</Filter>
</Filter>
<Filter
......@@ -25485,38 +25529,10 @@
RelativePath="..\page\FrameView.h"
>
</File>
<File
RelativePath="..\page\Geolocation.cpp"
>
</File>
<File
RelativePath="..\page\Geolocation.h"
>
</File>
<File
RelativePath="..\page\GeolocationClient.h"
>
</File>
<File
RelativePath="..\page\GeolocationController.cpp"
>
</File>
<File
RelativePath="..\page\GeolocationController.h"
>
</File>
<File
RelativePath="..\page\GeolocationError.h"
>
</File>
<File
RelativePath="..\page\GeolocationPosition.h"
>
</File>
<File
RelativePath="..\page\Geoposition.h"
>
</File>
<File
RelativePath="..\page\GroupSettings.cpp"
>
......@@ -25677,22 +25693,6 @@
RelativePath="..\page\PerformanceTiming.h"
>
</File>
<File
RelativePath="..\page\PositionCallback.h"
>
</File>
<File
RelativePath="..\page\PositionError.h"
>
</File>
<File
RelativePath="..\page\PositionErrorCallback.h"
>
</File>
<File
RelativePath="..\page\PositionOptions.h"
>
</File>
<File
RelativePath="..\page\PrintContext.cpp"
>
......@@ -19,6 +19,7 @@ mkdir 2>NUL "%CONFIGURATIONBUILDDIR%\include\WebCoreTestSupport"
xcopy /y /d "%ProjectDir%..\config.h" "%CONFIGURATIONBUILDDIR%\include\WebCore"
xcopy /y /d "%CONFIGURATIONBUILDDIR%\obj\WebCore\DerivedSources\*.h" "%CONFIGURATIONBUILDDIR%\include\WebCore"
xcopy /y /d "%ProjectDir%..\Modules\geolocation\*.h" "%CONFIGURATIONBUILDDIR%\include\WebCore"
xcopy /y /d "%ProjectDir%..\accessibility\*.h" "%CONFIGURATIONBUILDDIR%\include\WebCore"
xcopy /y /d "%ProjectDir%..\accessibility\win\*.h" "%CONFIGURATIONBUILDDIR%\include\WebCore"
xcopy /y /d "%ProjectDir%..\inspector\*.h" "%CONFIGURATIONBUILDDIR%\include\WebCore"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment