2009-01-26 Dmitry Titov <dimich@chromium.org>
authordglazkov@chromium.org <dglazkov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Jan 2009 23:14:41 +0000 (23:14 +0000)
committerdglazkov@chromium.org <dglazkov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Jan 2009 23:14:41 +0000 (23:14 +0000)
        Reviewed by Alexey Proskuryakov.

        https://bugs.webkit.org/show_bug.cgi?id=23511
        Move DOMTimer from bindings/js to page/.
        This was prepared by moving all JSC dependencies from DOMTimer
        to ScheduledAction earlier, and helps unfork the Chromuim version
        of the DOMTimer.

        * GNUmakefile.am:
        * WebCore.pro:
        * WebCore.scons:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * WebCoreSources.bkl:
        * bindings/js/DOMTimer.cpp: Removed.
        * bindings/js/DOMTimer.h: Removed.
        * page/DOMTimer.cpp: Copied from WebCore/bindings/js/DOMTimer.cpp.
        * page/DOMTimer.h: Copied from WebCore/bindings/js/DOMTimer.h.

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

WebCore/ChangeLog
WebCore/GNUmakefile.am
WebCore/WebCore.pro
WebCore/WebCore.scons
WebCore/WebCore.vcproj/WebCore.vcproj
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/WebCoreSources.bkl
WebCore/page/DOMTimer.cpp [moved from WebCore/bindings/js/DOMTimer.cpp with 100% similarity]
WebCore/page/DOMTimer.h [moved from WebCore/bindings/js/DOMTimer.h with 100% similarity]

index 7942c8b32e0f15a6b2e4b11190ed2cb66f556359..0beb6b8feca4422ab5645e327304bbce8797f437 100644 (file)
@@ -1,3 +1,24 @@
+2009-01-26  Dmitry Titov  <dimich@chromium.org>
+
+        Reviewed by Alexey Proskuryakov.
+
+        https://bugs.webkit.org/show_bug.cgi?id=23511
+        Move DOMTimer from bindings/js to page/.
+        This was prepared by moving all JSC dependencies from DOMTimer
+        to ScheduledAction earlier, and helps unfork the Chromuim version
+        of the DOMTimer.
+
+        * GNUmakefile.am:
+        * WebCore.pro:
+        * WebCore.scons:
+        * WebCore.vcproj/WebCore.vcproj:
+        * WebCore.xcodeproj/project.pbxproj:
+        * WebCoreSources.bkl:
+        * bindings/js/DOMTimer.cpp: Removed.
+        * bindings/js/DOMTimer.h: Removed.
+        * page/DOMTimer.cpp: Copied from WebCore/bindings/js/DOMTimer.cpp.
+        * page/DOMTimer.h: Copied from WebCore/bindings/js/DOMTimer.h.
+
 2009-01-26  David Hyatt  <hyatt@apple.com>
 
         Eliminate rightmostPosition, lowestPosition and leftmostPosition from RenderFlow.  Move the code into
index 30f429f17593b89e955cbdace74e3886dd72f270..8bbeed86b31d1c1159ec8f7c21c17c7a43fb4d63 100644 (file)
@@ -238,8 +238,6 @@ IDL_BINDINGS += \
 webcore_sources += \
        WebCore/WebCorePrefix.h \
        WebCore/bindings/js/CachedScriptSourceProvider.h \
-       WebCore/bindings/js/DOMTimer.cpp \
-       WebCore/bindings/js/DOMTimer.h \
        WebCore/bindings/js/GCController.cpp \
        WebCore/bindings/js/GCController.h \
        WebCore/bindings/js/JSAttrCustom.cpp \
@@ -1140,6 +1138,8 @@ webcore_sources += \
        WebCore/page/ContextMenuController.h \
        WebCore/page/DOMSelection.cpp \
        WebCore/page/DOMSelection.h \
+       WebCore/page/DOMTimer.cpp \
+       WebCore/page/DOMTimer.h \
        WebCore/page/DOMWindow.cpp \
        WebCore/page/DOMWindow.h \
        WebCore/page/DragActions.h \
index 133f3360096b227ed116548d0a73516651e2483e..a20f1b19266249a1e5c9a440965a8ce941c29281 100644 (file)
@@ -401,7 +401,6 @@ IDL_BINDINGS += \
 
 
 SOURCES += \
-    bindings/js/DOMTimer.cpp \
     bindings/js/GCController.cpp \
     bindings/js/JSAttrCustom.cpp \
     bindings/js/JSCDATASectionCustom.cpp \
@@ -833,6 +832,7 @@ SOURCES += \
     page/Console.cpp \
     page/ContextMenuController.cpp \
     page/DOMSelection.cpp \
+    page/DOMTimer.cpp \
     page/DOMWindow.cpp \
     page/Navigator.cpp \
     page/NavigatorBase.cpp \
index b8bf0bb97b94f419d167feb9927383663c0ef916..28617a5622abbade7d42d8400567eb9dfde5abf9 100644 (file)
@@ -376,6 +376,7 @@ sources['page'] = [
     'page/Console.cpp',
     'page/ContextMenuController.cpp',
     'page/DOMSelection.cpp',
+    'page/DOMTimer.cpp',
     'page/DOMWindow.cpp',
     'page/DragController.cpp',
     'page/EventHandler.cpp',
@@ -602,7 +603,6 @@ sources['xml'] = [
 
 # Using JavaScriptCore for now, eventually this needs to be configurable (and in separate file)
 sources['bindings/js'] = [
-    "bindings/js/DOMTimer.cpp",
     "bindings/js/GCController.cpp",
     "bindings/js/JSAttrCustom.cpp",
     "bindings/js/JSAudioConstructor.cpp",
index ebe6bd3b2017ac9e9738d7e2545196c0d71ec0c6..68728c5be90f55404309329a039f813cb5be2726 100644 (file)
                                RelativePath="..\page\DOMSelection.h"\r
                                >\r
                        </File>\r
+                       <File\r
+                               RelativePath="..\page\DOMTimer.cpp"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\page\DOMTimer.h"\r
+                               >\r
+                       </File>\r
                        <File\r
                                RelativePath="..\page\DOMWindow.cpp"\r
                                >\r
                                        RelativePath="..\bindings\js\CachedScriptSourceProvider.h"\r
                                        >\r
                                </File>\r
-                               <File\r
-                                       RelativePath="..\bindings\js\DOMTimer.cpp"\r
-                                       >\r
-                               </File>\r
-                               <File\r
-                                       RelativePath="..\bindings\js\DOMTimer.h"\r
-                                       >\r
-                               </File>\r
                                <File\r
                                        RelativePath="..\bindings\js\GCController.cpp"\r
                                        >\r
index a057218fcd6eef5308f813ad5e3492e1a6caf073..f09a5edb748ceb235791550bb973689c5fa03896 100644 (file)
                14EC268009CA07E000E1EEEC /* EventTargetNode.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 14EC267E09CA07E000E1EEEC /* EventTargetNode.cpp */; };
                14FFE31D0AE1963300136BF5 /* HTMLFrameElementBase.h in Headers */ = {isa = PBXBuildFile; fileRef = 14FFE31B0AE1963300136BF5 /* HTMLFrameElementBase.h */; settings = {ATTRIBUTES = (Private, ); }; };
                14FFE31E0AE1963300136BF5 /* HTMLFrameElementBase.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 14FFE31C0AE1963300136BF5 /* HTMLFrameElementBase.cpp */; };
+               188604B30F2E654A000B6443 /* DOMTimer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 188604B10F2E654A000B6443 /* DOMTimer.cpp */; };
+               188604B40F2E654A000B6443 /* DOMTimer.h in Headers */ = {isa = PBXBuildFile; fileRef = 188604B20F2E654A000B6443 /* DOMTimer.h */; };
                18A0537C0F26859C00A51705 /* WorkerRunLoop.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 18A0537A0F26859C00A51705 /* WorkerRunLoop.cpp */; };
                18A0537D0F26859C00A51705 /* WorkerRunLoop.h in Headers */ = {isa = PBXBuildFile; fileRef = 18A0537B0F26859C00A51705 /* WorkerRunLoop.h */; };
-               18E687870EDB793500A8E8B7 /* DOMTimer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 18E687850EDB793400A8E8B7 /* DOMTimer.cpp */; };
-               18E687880EDB793500A8E8B7 /* DOMTimer.h in Headers */ = {isa = PBXBuildFile; fileRef = 18E687860EDB793500A8E8B7 /* DOMTimer.h */; };
                1A0D57360A5C77FE007EDD4C /* OverflowEvent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A0D57340A5C77FE007EDD4C /* OverflowEvent.cpp */; };
                1A0D57370A5C77FE007EDD4C /* OverflowEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A0D57350A5C77FE007EDD4C /* OverflowEvent.h */; };
                1A0D57400A5C7867007EDD4C /* JSOverflowEvent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A0D573E0A5C7867007EDD4C /* JSOverflowEvent.cpp */; };
                14EC267E09CA07E000E1EEEC /* EventTargetNode.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = EventTargetNode.cpp; sourceTree = "<group>"; };
                14FFE31B0AE1963300136BF5 /* HTMLFrameElementBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HTMLFrameElementBase.h; sourceTree = "<group>"; };
                14FFE31C0AE1963300136BF5 /* HTMLFrameElementBase.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HTMLFrameElementBase.cpp; sourceTree = "<group>"; };
+               188604B10F2E654A000B6443 /* DOMTimer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DOMTimer.cpp; sourceTree = "<group>"; };
+               188604B20F2E654A000B6443 /* DOMTimer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMTimer.h; sourceTree = "<group>"; };
                18A0537A0F26859C00A51705 /* WorkerRunLoop.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WorkerRunLoop.cpp; sourceTree = "<group>"; };
                18A0537B0F26859C00A51705 /* WorkerRunLoop.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WorkerRunLoop.h; sourceTree = "<group>"; };
-               18E687850EDB793400A8E8B7 /* DOMTimer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DOMTimer.cpp; sourceTree = "<group>"; };
-               18E687860EDB793500A8E8B7 /* DOMTimer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMTimer.h; sourceTree = "<group>"; };
                1A0D57340A5C77FE007EDD4C /* OverflowEvent.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = OverflowEvent.cpp; sourceTree = "<group>"; };
                1A0D57350A5C77FE007EDD4C /* OverflowEvent.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = OverflowEvent.h; sourceTree = "<group>"; };
                1A0D57380A5C7812007EDD4C /* OverflowEvent.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = OverflowEvent.idl; sourceTree = "<group>"; };
                                BC5A86810C33676000EEA649 /* DOMSelection.cpp */,
                                BC5A86820C33676000EEA649 /* DOMSelection.h */,
                                BC5A86830C33676000EEA649 /* DOMSelection.idl */,
+                               188604B10F2E654A000B6443 /* DOMTimer.cpp */,
+                               188604B20F2E654A000B6443 /* DOMTimer.h */,
                                1403B99609EB13AF00797C7F /* DOMWindow.cpp */,
                                1403B99509EB13AF00797C7F /* DOMWindow.h */,
                                1403B90C09EB124500797C7F /* DOMWindow.idl */,
                                14DFB33F0A7DF7630018F769 /* Derived Sources */,
                                BCD533630ED6848900887468 /* CachedScriptSourceProvider.h */,
                                93F8B3060A300FEA00F61AB8 /* CodeGeneratorJS.pm */,
-                               18E687850EDB793400A8E8B7 /* DOMTimer.cpp */,
-                               18E687860EDB793500A8E8B7 /* DOMTimer.h */,
                                1432E8480C51493F00B1500F /* GCController.cpp */,
                                1432E8460C51493800B1500F /* GCController.h */,
                                E4EEFFC60D34550C00469A58 /* JSAudioConstructor.cpp */,
                                DDE63ED50B7D45A800226998 /* DOMTextEvent.h in Headers */,
                                85E711D90AC5D5350053270F /* DOMTextInternal.h in Headers */,
                                BCC5733A0D695BF1006EF517 /* DOMTextPrivate.h in Headers */,
-                               18E687880EDB793500A8E8B7 /* DOMTimer.h in Headers */,
                                BC1A37BE097C715F0019F3D8 /* DOMTraversal.h in Headers */,
                                85526CD20AB0B7D9000302EA /* DOMTreeWalker.h in Headers */,
                                850B41C30AD9E7E700A6ED4F /* DOMTreeWalkerInternal.h in Headers */,
                                93309E1E099E64920056E581 /* visible_units.h in Headers */,
                                18A0537D0F26859C00A51705 /* WorkerRunLoop.h in Headers */,
                                51C0AA390F2AA10A001648C2 /* CachedFrame.h in Headers */,
+                               188604B40F2E654A000B6443 /* DOMTimer.h in Headers */,
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                };
                                850657030AAB4763002D15C0 /* DOMStyleSheetList.mm in Sources */,
                                85ACA99D0A9B575900671E90 /* DOMText.mm in Sources */,
                                933A14AA0B7D1D0900A53FFD /* DOMTextEvent.mm in Sources */,
-                               18E687870EDB793500A8E8B7 /* DOMTimer.cpp in Sources */,
                                85526CD30AB0B7DA000302EA /* DOMTreeWalker.mm in Sources */,
                                85C7F4920AAF79DC004014DD /* DOMUIEvent.mm in Sources */,
                                BC1A37BF097C715F0019F3D8 /* DOMUtility.mm in Sources */,
                                93309E1D099E64920056E581 /* visible_units.cpp in Sources */,
                                51C0AA410F2AA15E001648C2 /* CachedFrame.cpp in Sources */,
                                93BA59B20F2AA5FE008E8E99 /* JSCDATASectionCustom.cpp in Sources */,
+                               188604B30F2E654A000B6443 /* DOMTimer.cpp in Sources */,
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                };
index 95dddd3e7cdba38e41533371ed75d71c0ab604ae..6c53e8406180fb3a3260f88e0d95edb7a801cea3 100644 (file)
@@ -33,7 +33,6 @@ This file contains the list of files needed to build WebCore.
 
 <makefile>
     <set append="1" var="WEBCORE_SOURCES_JS">
-        bindings/js/DOMTimer.cpp
         bindings/js/GCController.cpp
         bindings/js/JSAttrCustom.cpp
         bindings/js/JSAudioConstructor.cpp
@@ -691,6 +690,7 @@ This file contains the list of files needed to build WebCore.
         page/Console.cpp
         page/ContextMenuController.cpp
         page/DOMSelection.cpp
+        page/DOMTimer.cpp
         page/DOMWindow.cpp
         page/DragController.cpp
         page/EventHandler.cpp