Move page/Coordinates.[h|idl] to Modules/geolocation/
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Mar 2013 07:52:09 +0000 (07:52 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Mar 2013 07:52:09 +0000 (07:52 +0000)
https://bugs.webkit.org/show_bug.cgi?id=112945

Patch by Steve Block <steveblock@chromium.org> on 2013-03-22
Reviewed by Kentaro Hara.

No new tests, no functional change.

* CMakeLists.txt:
* DerivedSources.make:
* DerivedSources.pri:
* GNUmakefile.list.am:
* Modules/geolocation/Coordinates.h: Renamed from Source/WebCore/page/Coordinates.h.
(WebCore):
(Coordinates):
(WebCore::Coordinates::create):
(WebCore::Coordinates::isolatedCopy):
(WebCore::Coordinates::latitude):
(WebCore::Coordinates::longitude):
(WebCore::Coordinates::altitude):
(WebCore::Coordinates::accuracy):
(WebCore::Coordinates::altitudeAccuracy):
(WebCore::Coordinates::heading):
(WebCore::Coordinates::speed):
(WebCore::Coordinates::canProvideAltitude):
(WebCore::Coordinates::canProvideAltitudeAccuracy):
(WebCore::Coordinates::canProvideHeading):
(WebCore::Coordinates::canProvideSpeed):
(WebCore::Coordinates::Coordinates):
* Modules/geolocation/Coordinates.idl: Renamed from Source/WebCore/page/Coordinates.idl.
* Target.pri:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@146570 268f45cc-cd09-0410-ab3c-d52691b4dbfc

13 files changed:
Source/WebCore/CMakeLists.txt
Source/WebCore/ChangeLog
Source/WebCore/DerivedSources.make
Source/WebCore/DerivedSources.pri
Source/WebCore/GNUmakefile.list.am
Source/WebCore/Modules/geolocation/Coordinates.h [moved from Source/WebCore/page/Coordinates.h with 100% similarity]
Source/WebCore/Modules/geolocation/Coordinates.idl [moved from Source/WebCore/page/Coordinates.idl with 100% similarity]
Source/WebCore/Target.pri
Source/WebCore/WebCore.gypi
Source/WebCore/WebCore.vcproj/WebCore.vcproj
Source/WebCore/WebCore.vcxproj/WebCore.vcxproj
Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters
Source/WebCore/WebCore.xcodeproj/project.pbxproj

index cd9bd2d..a2e6189 100644 (file)
@@ -179,6 +179,7 @@ set(WebCore_IDL_FILES
     Modules/gamepad/GamepadList.idl
     Modules/gamepad/NavigatorGamepad.idl
 
+    Modules/geolocation/Coordinates.idl
     Modules/geolocation/Geolocation.idl
     Modules/geolocation/Geoposition.idl
     Modules/geolocation/NavigatorGeolocation.idl
@@ -563,7 +564,6 @@ set(WebCore_IDL_FILES
 
     page/BarInfo.idl
     page/Console.idl
-    page/Coordinates.idl
     page/Crypto.idl
     page/DOMSecurityPolicy.idl
     page/DOMSelection.idl
index 5a1378a..e53c858 100644 (file)
@@ -1,3 +1,41 @@
+2013-03-22  Steve Block  <steveblock@chromium.org>
+
+        Move page/Coordinates.[h|idl] to Modules/geolocation/
+        https://bugs.webkit.org/show_bug.cgi?id=112945
+
+        Reviewed by Kentaro Hara.
+
+        No new tests, no functional change.
+
+        * CMakeLists.txt:
+        * DerivedSources.make:
+        * DerivedSources.pri:
+        * GNUmakefile.list.am:
+        * Modules/geolocation/Coordinates.h: Renamed from Source/WebCore/page/Coordinates.h.
+        (WebCore):
+        (Coordinates):
+        (WebCore::Coordinates::create):
+        (WebCore::Coordinates::isolatedCopy):
+        (WebCore::Coordinates::latitude):
+        (WebCore::Coordinates::longitude):
+        (WebCore::Coordinates::altitude):
+        (WebCore::Coordinates::accuracy):
+        (WebCore::Coordinates::altitudeAccuracy):
+        (WebCore::Coordinates::heading):
+        (WebCore::Coordinates::speed):
+        (WebCore::Coordinates::canProvideAltitude):
+        (WebCore::Coordinates::canProvideAltitudeAccuracy):
+        (WebCore::Coordinates::canProvideHeading):
+        (WebCore::Coordinates::canProvideSpeed):
+        (WebCore::Coordinates::Coordinates):
+        * Modules/geolocation/Coordinates.idl: Renamed from Source/WebCore/page/Coordinates.idl.
+        * Target.pri:
+        * WebCore.gypi:
+        * WebCore.vcproj/WebCore.vcproj:
+        * WebCore.vcxproj/WebCore.vcxproj:
+        * WebCore.vcxproj/WebCore.vcxproj.filters:
+        * WebCore.xcodeproj/project.pbxproj:
+
 2013-03-21  Hajime Morrita  <morrita@google.com>
 
         Custom Elements: "readyCallback" lifecycle callback should be called.
index 8a076b0..0995e1e 100644 (file)
@@ -91,6 +91,7 @@ BINDING_IDLS = \
     $(WebCore)/Modules/filesystem/Metadata.idl \
     $(WebCore)/Modules/filesystem/MetadataCallback.idl \
     $(WebCore)/Modules/filesystem/WorkerContextFileSystem.idl \
+    $(WebCore)/Modules/geolocation/Coordinates.idl \
     $(WebCore)/Modules/geolocation/Geolocation.idl \
     $(WebCore)/Modules/geolocation/Geoposition.idl \
     $(WebCore)/Modules/geolocation/NavigatorGeolocation.idl \
@@ -441,7 +442,6 @@ BINDING_IDLS = \
     $(WebCore)/page/AbstractView.idl \
     $(WebCore)/page/BarInfo.idl \
     $(WebCore)/page/Console.idl \
-    $(WebCore)/page/Coordinates.idl \
     $(WebCore)/page/Crypto.idl \
     $(WebCore)/page/DOMSecurityPolicy.idl \
     $(WebCore)/page/DOMSelection.idl \
index d038058..e1799c0 100644 (file)
@@ -110,6 +110,7 @@ IDL_BINDINGS += \
     $$PWD/Modules/filesystem/Metadata.idl \
     $$PWD/Modules/filesystem/MetadataCallback.idl \
     $$PWD/Modules/filesystem/WorkerContextFileSystem.idl \
+    $$PWD/Modules/geolocation/Coordinates.idl \
     $$PWD/Modules/geolocation/Geolocation.idl \
     $$PWD/Modules/geolocation/Geoposition.idl \
     $$PWD/Modules/geolocation/NavigatorGeolocation.idl \
@@ -441,7 +442,6 @@ IDL_BINDINGS += \
     $$PWD/loader/appcache/DOMApplicationCache.idl \
     $$PWD/page/BarInfo.idl \
     $$PWD/page/Console.idl \
-    $$PWD/page/Coordinates.idl \
     $$PWD/page/Crypto.idl \
     $$PWD/page/DOMSecurityPolicy.idl \
     $$PWD/page/DOMSelection.idl \
index b396ddc..c7d59ac 100644 (file)
@@ -1227,6 +1227,7 @@ dom_binding_idls += \
        $(WebCore)/Modules/gamepad/Gamepad.idl \
        $(WebCore)/Modules/gamepad/GamepadList.idl \
        $(WebCore)/Modules/gamepad/NavigatorGamepad.idl \
+       $(WebCore)/Modules/geolocation/Coordinates.idl \
        $(WebCore)/Modules/geolocation/Geolocation.idl \
        $(WebCore)/Modules/geolocation/Geoposition.idl \
        $(WebCore)/Modules/geolocation/NavigatorGeolocation.idl \
@@ -1594,7 +1595,6 @@ dom_binding_idls += \
        $(WebCore)/loader/appcache/DOMApplicationCache.idl \
        $(WebCore)/page/BarInfo.idl \
        $(WebCore)/page/Console.idl \
-       $(WebCore)/page/Coordinates.idl \
        $(WebCore)/page/Crypto.idl \
        $(WebCore)/page/DOMSecurityPolicy.idl \
        $(WebCore)/page/DOMSelection.idl \
@@ -1856,6 +1856,7 @@ webcore_modules_sources += \
        Source/WebCore/Modules/gamepad/GamepadList.h \
        Source/WebCore/Modules/gamepad/NavigatorGamepad.cpp \
        Source/WebCore/Modules/gamepad/NavigatorGamepad.h \
+       Source/WebCore/Modules/geolocation/Coordinates.h \
        Source/WebCore/Modules/geolocation/Geolocation.cpp \
        Source/WebCore/Modules/geolocation/Geolocation.h \
        Source/WebCore/Modules/geolocation/GeolocationController.cpp \
@@ -4164,7 +4165,6 @@ webcore_sources += \
        Source/WebCore/page/ContextMenuController.cpp \
        Source/WebCore/page/ContextMenuController.h \
        Source/WebCore/page/ContextMenuProvider.h \
-       Source/WebCore/page/Coordinates.h \
        Source/WebCore/page/Crypto.cpp \
        Source/WebCore/page/Crypto.h \
        Source/WebCore/page/DeviceClient.h \
index 39d5112..bbd9af0 100644 (file)
@@ -1447,6 +1447,7 @@ HEADERS += \
     plugins/npruntime.h
 
 HEADERS += \
+    Modules/geolocation/Coordinates.h \
     Modules/geolocation/Geolocation.h \
     Modules/geolocation/GeolocationController.h \
     Modules/geolocation/GeolocationError.h \
@@ -2118,7 +2119,6 @@ HEADERS += \
     page/ConsoleTypes.h \
     page/ContextMenuController.h \
     page/ContextMenuProvider.h \
-    page/Coordinates.h \
     page/DeviceClient.h \
     page/DeviceController.h \
     page/DiagnosticLoggingKeys.h \
index e66673b..f3275aa 100644 (file)
             'Modules/gamepad/Gamepad.idl',
             'Modules/gamepad/GamepadList.idl',
             'Modules/gamepad/NavigatorGamepad.idl',
+            'Modules/geolocation/Coordinates.idl',
             'Modules/geolocation/Geolocation.idl',
             'Modules/geolocation/Geoposition.idl',
             'Modules/geolocation/NavigatorGeolocation.idl',
             'page/AbstractView.idl',
             'page/BarInfo.idl',
             'page/Console.idl',
-            'page/Coordinates.idl',
             'page/Crypto.idl',
             'page/DOMSecurityPolicy.idl',
             'page/DOMSelection.idl',
index e0bf065..524e96a 100755 (executable)
                                Name="geolocation"
                                >
                                <File
+                                       RelativePath="..\Modules\geolocation\Coordinates.h"
+                                       >
+                               </File>
+                               <File
                                        RelativePath="..\Modules\geolocation\Geolocation.cpp"
                                        >
                                </File>
                                >
                        </File>
                        <File
-                               RelativePath="..\page\Coordinates.h"
-                               >
-                       </File>
-                       <File
                                RelativePath="..\page\Crypto.cpp"
                                >
                        </File>
index e7ac44b..d5723ec 100644 (file)
     <ClInclude Include="..\Modules\filesystem\MetadataCallback.h" />
     <ClInclude Include="..\Modules\filesystem\SyncCallbackHelper.h" />
     <ClInclude Include="..\Modules\filesystem\WorkerContextFileSystem.h" />
+    <ClInclude Include="..\Modules\geolocation\Coordinates.h" />
     <ClInclude Include="..\Modules\geolocation\Geolocation.h" />
     <ClInclude Include="..\Modules\geolocation\GeolocationController.h" />
     <ClInclude Include="..\Modules\geolocation\GeolocationError.h" />
     <ClInclude Include="..\page\ContextMenuClient.h" />
     <ClInclude Include="..\page\ContextMenuController.h" />
     <ClInclude Include="..\page\ContextMenuProvider.h" />
-    <ClInclude Include="..\page\Coordinates.h" />
     <ClInclude Include="..\page\Crypto.h" />
     <ClInclude Include="..\page\animation\CSSPropertyAnimation.h" />
     <ClInclude Include="..\page\DeviceClient.h" />
index 6cea0ea..88aad21 100644 (file)
     <ClInclude Include="..\Modules\filesystem\WorkerContextFileSystem.h">
       <Filter>Modules\filesystem</Filter>
     </ClInclude>
+    <ClInclude Include="..\Modules\geolocation\Coordinates.h">
+      <Filter>Modules\geolocation</Filter>
+    </ClInclude>
     <ClInclude Include="..\Modules\geolocation\Geolocation.h">
       <Filter>Modules\geolocation</Filter>
     </ClInclude>
     <ClInclude Include="..\page\ContextMenuProvider.h">
       <Filter>page</Filter>
     </ClInclude>
-    <ClInclude Include="..\page\Coordinates.h">
-      <Filter>page</Filter>
-    </ClInclude>
     <ClInclude Include="..\page\Crypto.h">
       <Filter>page</Filter>
     </ClInclude>
       <Filter>rendering</Filter>
     </CustomBuildStep>
   </ItemGroup>
-</Project>
\ No newline at end of file
+</Project>
index 9aeb6cf..abaf31a 100644 (file)
                973F418B169B96030006BF60 /* HTMLParserOptions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 973F4187169B95EF0006BF60 /* HTMLParserOptions.cpp */; };
                974187D316A7932700FA77A7 /* HTMLParserThread.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 974187D016A7932200FA77A7 /* HTMLParserThread.cpp */; };
                974187D416A7932900FA77A7 /* HTMLParserThread.h in Headers */ = {isa = PBXBuildFile; fileRef = 974187D116A7932200FA77A7 /* HTMLParserThread.h */; };
+               9746AF2114F4DDE6003E7A71 /* Coordinates.h in Headers */ = {isa = PBXBuildFile; fileRef = 9746AF1114F4DDE6003E7A70 /* Coordinates.h */; settings = {ATTRIBUTES = (Private, ); }; };
                9746AF2314F4DDE6003E7A70 /* Geolocation.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9746AF1314F4DDE6003E7A70 /* Geolocation.cpp */; };
                9746AF2414F4DDE6003E7A70 /* Geolocation.h in Headers */ = {isa = PBXBuildFile; fileRef = 9746AF1414F4DDE6003E7A70 /* Geolocation.h */; settings = {ATTRIBUTES = (Private, ); }; };
                9746AF2614F4DDE6003E7A70 /* GeolocationController.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9746AF1614F4DDE6003E7A70 /* GeolocationController.cpp */; };
                FE4AADEF16D2C37400026FFC /* AbstractSQLStatementBackend.h in Headers */ = {isa = PBXBuildFile; fileRef = FE4AADED16D2C37400026FFC /* AbstractSQLStatementBackend.h */; settings = {ATTRIBUTES = (Private, ); }; };
                FE6F6AAF169E057500FC30A2 /* DatabaseBackendContext.cpp in Sources */ = {isa = PBXBuildFile; fileRef = FE6F6AAD169E057500FC30A2 /* DatabaseBackendContext.cpp */; };
                FE6F6AB0169E057500FC30A2 /* DatabaseBackendContext.h in Headers */ = {isa = PBXBuildFile; fileRef = FE6F6AAE169E057500FC30A2 /* DatabaseBackendContext.h */; settings = {ATTRIBUTES = (Private, ); }; };
-               FE6FD4880F676E5700092873 /* Coordinates.h in Headers */ = {isa = PBXBuildFile; fileRef = FE6FD4850F676E5700092873 /* Coordinates.h */; settings = {ATTRIBUTES = (Private, ); }; };
                FE6FD48D0F676E9300092873 /* JSCoordinates.cpp in Sources */ = {isa = PBXBuildFile; fileRef = FE6FD48B0F676E9300092873 /* JSCoordinates.cpp */; };
                FE6FD48E0F676E9300092873 /* JSCoordinates.h in Headers */ = {isa = PBXBuildFile; fileRef = FE6FD48C0F676E9300092873 /* JSCoordinates.h */; };
                FE700DD10F92D81A008E2BFE /* JSCoordinatesCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = FE700DD00F92D81A008E2BFE /* JSCoordinatesCustom.cpp */; };
                973F4188169B95EF0006BF60 /* HTMLParserOptions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HTMLParserOptions.h; path = parser/HTMLParserOptions.h; sourceTree = "<group>"; };
                974187D016A7932200FA77A7 /* HTMLParserThread.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = HTMLParserThread.cpp; path = parser/HTMLParserThread.cpp; sourceTree = "<group>"; };
                974187D116A7932200FA77A7 /* HTMLParserThread.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HTMLParserThread.h; path = parser/HTMLParserThread.h; sourceTree = "<group>"; };
+               9746AF1114F4DDE6003E7A70 /* Coordinates.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Coordinates.h; path = Modules/geolocation/Coordinates.h; sourceTree = "<group>"; };
+               9746AF1214F4DDE6003E7A70 /* Coordinates.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Coordinates.idl; path = Modules/geolocation/Coordinates.idl; sourceTree = "<group>"; };
                9746AF1314F4DDE6003E7A70 /* Geolocation.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Geolocation.cpp; path = Modules/geolocation/Geolocation.cpp; sourceTree = "<group>"; };
                9746AF1414F4DDE6003E7A70 /* Geolocation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Geolocation.h; path = Modules/geolocation/Geolocation.h; sourceTree = "<group>"; };
                9746AF1514F4DDE6003E7A70 /* Geolocation.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Geolocation.idl; path = Modules/geolocation/Geolocation.idl; sourceTree = "<group>"; };
                FE4AADED16D2C37400026FFC /* AbstractSQLStatementBackend.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AbstractSQLStatementBackend.h; path = Modules/webdatabase/AbstractSQLStatementBackend.h; sourceTree = "<group>"; };
                FE6F6AAD169E057500FC30A2 /* DatabaseBackendContext.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = DatabaseBackendContext.cpp; path = Modules/webdatabase/DatabaseBackendContext.cpp; sourceTree = "<group>"; };
                FE6F6AAE169E057500FC30A2 /* DatabaseBackendContext.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DatabaseBackendContext.h; path = Modules/webdatabase/DatabaseBackendContext.h; sourceTree = "<group>"; };
-               FE6FD4850F676E5700092873 /* Coordinates.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Coordinates.h; sourceTree = "<group>"; };
-               FE6FD4860F676E5700092873 /* Coordinates.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Coordinates.idl; sourceTree = "<group>"; };
                FE6FD48B0F676E9300092873 /* JSCoordinates.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSCoordinates.cpp; sourceTree = "<group>"; };
                FE6FD48C0F676E9300092873 /* JSCoordinates.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSCoordinates.h; sourceTree = "<group>"; };
                FE700DD00F92D81A008E2BFE /* JSCoordinatesCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSCoordinatesCustom.cpp; sourceTree = "<group>"; };
                                065AD4F30B0C2EDA005A2B1D /* ContextMenuController.cpp */,
                                065AD4F40B0C2EDA005A2B1D /* ContextMenuController.h */,
                                7ADE722510CBBB9B006B3B3A /* ContextMenuProvider.h */,
-                               FE6FD4850F676E5700092873 /* Coordinates.h */,
-                               FE6FD4860F676E5700092873 /* Coordinates.idl */,
                                975CA287130365F800E99AD9 /* Crypto.cpp */,
                                975CA288130365F800E99AD9 /* Crypto.h */,
                                975CA289130365F800E99AD9 /* Crypto.idl */,
                971145FF14EF007900674FD9 /* geolocation */ = {
                        isa = PBXGroup;
                        children = (
+                               9746AF1114F4DDE6003E7A70 /* Coordinates.h */,
+                               9746AF1214F4DDE6003E7A70 /* Coordinates.idl */,
                                9746AF1314F4DDE6003E7A70 /* Geolocation.cpp */,
                                9746AF1414F4DDE6003E7A70 /* Geolocation.h */,
                                9746AF1514F4DDE6003E7A70 /* Geolocation.idl */,
                                E1424C94164B52C800F32D40 /* CookieJar.h in Headers */,
                                339B5B63131DAA3200F48D02 /* CookiesStrategy.h in Headers */,
                                33D0212D131DB37B004091A8 /* CookieStorage.h in Headers */,
-                               FE6FD4880F676E5700092873 /* Coordinates.h in Headers */,
+                               9746AF2114F4DDE6003E7A71 /* Coordinates.h in Headers */,
                                A80E6D040A1989CA007FB8C5 /* Counter.h in Headers */,
                                BC5EB9790E82069200B25965 /* CounterContent.h in Headers */,
                                BC5EB9510E82056B00B25965 /* CounterDirectives.h in Headers */,