Title: [115346] trunk
Revision
115346
Author
[email protected]
Date
2012-04-26 13:14:54 -0700 (Thu, 26 Apr 2012)

Log Message

[BlackBerry] Add smooth_scrolling options to CMAKE and enable it for Blackberry
https://bugs.webkit.org/show_bug.cgi?id=84954

Reviewed by Daniel Bates.
Patch by Antonio Gomes <[email protected]>

.:

* Source/cmakeconfig.h.cmake: Make it possible for CMake builds to
  toggle SMOOTH_SCROLLING on/off
* Source/cmake/OptionsBlackBerry.cmake: ... and set it to ON by defualt
  for the Blackberry port.

Source/WebCore:

Add the default scroll animator to the build system (ScrollAnimatorNone.cpp)

* CMakeLists.txt:

Modified Paths

Diff

Modified: trunk/ChangeLog (115345 => 115346)


--- trunk/ChangeLog	2012-04-26 20:14:41 UTC (rev 115345)
+++ trunk/ChangeLog	2012-04-26 20:14:54 UTC (rev 115346)
@@ -1,3 +1,15 @@
+2012-04-26  Antonio Gomes  <[email protected]>
+
+        [BlackBerry] Add smooth_scrolling options to CMAKE and enable it for Blackberry
+        https://bugs.webkit.org/show_bug.cgi?id=84954
+
+        Reviewed by Daniel Bates.
+
+        * Source/cmakeconfig.h.cmake: Make it possible for CMake builds to
+          toggle SMOOTH_SCROLLING on/off
+        * Source/cmake/OptionsBlackBerry.cmake: ... and set it to ON by defualt
+          for the Blackberry port.
+
 2012-04-26  Christophe Dumez  <[email protected]>
 
         [EFL] Enable VIDEO_TRACK feature

Modified: trunk/Source/WebCore/CMakeLists.txt (115345 => 115346)


--- trunk/Source/WebCore/CMakeLists.txt	2012-04-26 20:14:41 UTC (rev 115345)
+++ trunk/Source/WebCore/CMakeLists.txt	2012-04-26 20:14:54 UTC (rev 115346)
@@ -2168,6 +2168,12 @@
     )
 ENDIF ()
 
+IF (ENABLE_SMOOTH_SCROLLING)
+    LIST(APPEND WebCore_SOURCES
+        platform/ScrollAnimatorNone.cpp
+    )
+ENDIF ()
+
 IF (ENABLE_WEB_SOCKETS AND ENABLE_WORKERS)
     LIST(APPEND WebCore_SOURCES
         Modules/websockets/WorkerThreadableWebSocketChannel.cpp

Modified: trunk/Source/WebCore/ChangeLog (115345 => 115346)


--- trunk/Source/WebCore/ChangeLog	2012-04-26 20:14:41 UTC (rev 115345)
+++ trunk/Source/WebCore/ChangeLog	2012-04-26 20:14:54 UTC (rev 115346)
@@ -1,3 +1,14 @@
+2012-04-26  Antonio Gomes  <[email protected]>
+
+        [BlackBerry] Add smooth_scrolling options to CMAKE and enable it for Blackberry
+        https://bugs.webkit.org/show_bug.cgi?id=84954
+
+        Reviewed by Daniel Bates.
+
+        Add the default scroll animator to the build system (ScrollAnimatorNone.cpp)
+
+        * CMakeLists.txt:
+
 2012-04-25  Antonio Gomes  <[email protected]>
 
         Make ScrollView::scrollSize scrollbar-independent

Modified: trunk/Source/cmake/OptionsBlackBerry.cmake (115345 => 115346)


--- trunk/Source/cmake/OptionsBlackBerry.cmake	2012-04-26 20:14:41 UTC (rev 115345)
+++ trunk/Source/cmake/OptionsBlackBerry.cmake	2012-04-26 20:14:54 UTC (rev 115346)
@@ -148,6 +148,7 @@
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_REPAINT_THROTTLING ON)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_REQUEST_ANIMATION_FRAME ON)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SHARED_WORKERS ON)
+WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SMOOTH_SCROLLING ON)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_TOUCH_EVENTS ON)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_VIBRATION ON)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_VIDEO ON)

Modified: trunk/Source/cmakeconfig.h.cmake (115345 => 115346)


--- trunk/Source/cmakeconfig.h.cmake	2012-04-26 20:14:41 UTC (rev 115345)
+++ trunk/Source/cmakeconfig.h.cmake	2012-04-26 20:14:54 UTC (rev 115346)
@@ -55,6 +55,7 @@
 #cmakedefine01 ENABLE_PROGRESS_TAG
 #cmakedefine01 ENABLE_REQUEST_ANIMATION_FRAME
 #cmakedefine01 ENABLE_SHARED_WORKERS
+#cmakedefine01 ENABLE_SMOOTH_SCROLLING
 #cmakedefine01 ENABLE_SQL_DATABASE
 #cmakedefine01 ENABLE_SVG
 #cmakedefine01 ENABLE_SVG_FONTS
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to