Title: [99442] trunk
Revision
99442
Author
commit-qu...@webkit.org
Date
2011-11-07 10:28:28 -0800 (Mon, 07 Nov 2011)

Log Message

[EFL] Support requestAnimationFrame API
https://bugs.webkit.org/show_bug.cgi?id=67112

Patch by ChangSeok Oh <shivami...@gmail.com> on 2011-11-07
Reviewed by Andreas Kling.

.:

Add build-option for requestAnimationFrame feature.

* Source/cmake/OptionsEfl.cmake:
* Source/cmakeconfig.h.cmake:

Source/_javascript_Core:

Let EFL port use REQUEST_ANIMATION_FRAME_TIMER.

* wtf/Platform.h:

Source/WebCore:

Add some files to build-target when enabling requestAnimationFrame option.

fast/animation/request-animation-frame-cancel.html
fast/animation/request-animation-frame-cancel2.html
fast/animation/request-animation-frame-display.html
fast/animation/request-animation-frame-during-modal.html
fast/animation/request-animation-frame-timestamps.html
fast/animation/request-animation-frame-within-callback.html
fast/animation/request-animation-frame.html

* CMakeLists.txt:
* UseJSC.cmake:

Modified Paths

Diff

Modified: trunk/ChangeLog (99441 => 99442)


--- trunk/ChangeLog	2011-11-07 18:26:49 UTC (rev 99441)
+++ trunk/ChangeLog	2011-11-07 18:28:28 UTC (rev 99442)
@@ -1,3 +1,15 @@
+2011-11-07  ChangSeok Oh  <shivami...@gmail.com>
+
+        [EFL] Support requestAnimationFrame API
+        https://bugs.webkit.org/show_bug.cgi?id=67112
+
+        Reviewed by Andreas Kling.
+
+        Add build-option for requestAnimationFrame feature.
+
+        * Source/cmake/OptionsEfl.cmake:
+        * Source/cmakeconfig.h.cmake:
+
 2011-11-07  Tor Arne Vestbø  <tor.arne.ves...@nokia.com>
 
         [Qt] Ensure we always export symbols for the QtWebKit API when building WebKit

Modified: trunk/Source/_javascript_Core/ChangeLog (99441 => 99442)


--- trunk/Source/_javascript_Core/ChangeLog	2011-11-07 18:26:49 UTC (rev 99441)
+++ trunk/Source/_javascript_Core/ChangeLog	2011-11-07 18:28:28 UTC (rev 99442)
@@ -1,3 +1,14 @@
+2011-11-07  ChangSeok Oh  <shivami...@gmail.com>
+
+        [EFL] Support requestAnimationFrame API
+        https://bugs.webkit.org/show_bug.cgi?id=67112
+
+        Reviewed by Andreas Kling.
+
+        Let EFL port use REQUEST_ANIMATION_FRAME_TIMER.
+
+        * wtf/Platform.h:
+
 2011-11-07  Michael Saboff  <msab...@apple.com>
 
         Towards 8 Bit Strings: Templatize JSC::Lexer class by character type

Modified: trunk/Source/_javascript_Core/wtf/Platform.h (99441 => 99442)


--- trunk/Source/_javascript_Core/wtf/Platform.h	2011-11-07 18:26:49 UTC (rev 99441)
+++ trunk/Source/_javascript_Core/wtf/Platform.h	2011-11-07 18:28:28 UTC (rev 99442)
@@ -1093,7 +1093,7 @@
 #define WTF_USE_AVFOUNDATION 1
 #endif
 
-#if PLATFORM(MAC) || PLATFORM(GTK) || (PLATFORM(WIN) && !OS(WINCE) && !PLATFORM(WIN_CAIRO))
+#if PLATFORM(MAC) || PLATFORM(GTK) || PLATFORM(EFL) || (PLATFORM(WIN) && !OS(WINCE) && !PLATFORM(WIN_CAIRO))
 #define WTF_USE_REQUEST_ANIMATION_FRAME_TIMER 1
 #endif
 

Modified: trunk/Source/WebCore/CMakeLists.txt (99441 => 99442)


--- trunk/Source/WebCore/CMakeLists.txt	2011-11-07 18:26:49 UTC (rev 99441)
+++ trunk/Source/WebCore/CMakeLists.txt	2011-11-07 18:28:28 UTC (rev 99442)
@@ -2171,6 +2171,15 @@
     )
 ENDIF ()
 
+IF (ENABLE_REQUEST_ANIMATION_FRAME)
+    LIST(APPEND WebCore_IDL_FILES
+        dom/RequestAnimationFrameCallback.idl
+    )
+    LIST(APPEND WebCore_SOURCES
+        dom/ScriptedAnimationController.cpp
+    )
+ENDIF ()
+
 # Modules that the bindings generator scripts may use
 SET(SCRIPTS_BINDINGS
     ${WEBCORE_DIR}/bindings/scripts/IDLParser.pm

Modified: trunk/Source/WebCore/ChangeLog (99441 => 99442)


--- trunk/Source/WebCore/ChangeLog	2011-11-07 18:26:49 UTC (rev 99441)
+++ trunk/Source/WebCore/ChangeLog	2011-11-07 18:28:28 UTC (rev 99442)
@@ -1,3 +1,23 @@
+2011-11-07  ChangSeok Oh  <shivami...@gmail.com>
+
+        [EFL] Support requestAnimationFrame API
+        https://bugs.webkit.org/show_bug.cgi?id=67112
+
+        Reviewed by Andreas Kling.
+
+        Add some files to build-target when enabling requestAnimationFrame option.
+
+        fast/animation/request-animation-frame-cancel.html
+        fast/animation/request-animation-frame-cancel2.html
+        fast/animation/request-animation-frame-display.html
+        fast/animation/request-animation-frame-during-modal.html
+        fast/animation/request-animation-frame-timestamps.html
+        fast/animation/request-animation-frame-within-callback.html
+        fast/animation/request-animation-frame.html
+
+        * CMakeLists.txt:
+        * UseJSC.cmake:
+
 2011-11-07  Sam Weinig  <s...@webkit.org>
 
         Add missing .in and .pl files to the Xcode project for easy access.

Modified: trunk/Source/WebCore/UseJSC.cmake (99441 => 99442)


--- trunk/Source/WebCore/UseJSC.cmake	2011-11-07 18:26:49 UTC (rev 99441)
+++ trunk/Source/WebCore/UseJSC.cmake	2011-11-07 18:28:28 UTC (rev 99442)
@@ -167,6 +167,12 @@
     )
 ENDIF ()
 
+IF (ENABLE_REQUEST_ANIMATION_FRAME)
+    LIST(APPEND WebCore_SOURCES
+        bindings/js/JSRequestAnimationFrameCallbackCustom.cpp
+    )
+ENDIF ()
+
 IF (ENABLE_SQL_DATABASE)
     LIST(APPEND WebCore_SOURCES
         bindings/js/JSCustomSQLStatementErrorCallback.cpp

Modified: trunk/Source/cmake/OptionsEfl.cmake (99441 => 99442)


--- trunk/Source/cmake/OptionsEfl.cmake	2011-11-07 18:26:49 UTC (rev 99441)
+++ trunk/Source/cmake/OptionsEfl.cmake	2011-11-07 18:28:28 UTC (rev 99442)
@@ -85,6 +85,7 @@
 WEBKIT_FEATURE(ENABLE_ORIENTATION_EVENTS "Enable orientation events" DEFAULT OFF)
 WEBKIT_FEATURE(ENABLE_PAGE_VISIBILITY_API "Enable Page Visibility API" DEFAULT ON)
 WEBKIT_FEATURE(ENABLE_PROGRESS_TAG "Enable progress tag" DEFAULT ON)
+WEBKIT_FEATURE(ENABLE_REQUEST_ANIMATION_FRAME "Enable requestAnimationFrame API" DEFAULT ON)
 WEBKIT_FEATURE(ENABLE_SHARED_WORKERS "Enable shared workers" DEFAULT ON)
 WEBKIT_FEATURE(ENABLE_SVG "Enable SVG" DEFAULT ON)
 WEBKIT_FEATURE(ENABLE_SVG_FONTS "Enable SVG fonts" DEFAULT ON SVG)

Modified: trunk/Source/cmakeconfig.h.cmake (99441 => 99442)


--- trunk/Source/cmakeconfig.h.cmake	2011-11-07 18:26:49 UTC (rev 99441)
+++ trunk/Source/cmakeconfig.h.cmake	2011-11-07 18:28:28 UTC (rev 99442)
@@ -32,6 +32,7 @@
 #cmakedefine01 ENABLE_ORIENTATION_EVENTS
 #cmakedefine01 ENABLE_PAGE_VISIBILITY_API
 #cmakedefine01 ENABLE_PROGRESS_TAG
+#cmakedefine01 ENABLE_REQUEST_ANIMATION_FRAME
 #cmakedefine01 ENABLE_SHARED_WORKERS
 #cmakedefine01 ENABLE_SVG
 #cmakedefine01 ENABLE_SVG_FONTS
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to