Changeset 90240 in webkit
- Timestamp:
- Jul 1, 2011 9:56:20 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r89940 r90240 1 2011-07-01 Joone Hur <joone.hur@collabora.co.uk> 2 3 Reviewed by Martin Robinson. 4 5 [GTK] Add DeviceOrientation feature 6 https://bugs.webkit.org/show_bug.cgi?id=63720 7 8 Add configure option to enable/disable DeviceOrientation feature. 9 10 * configure.ac: 11 1 12 2011-06-28 Joone Hur <joone.hur@collabora.co.uk> 2 13 -
trunk/Source/WebCore/ChangeLog
r90225 r90240 1 2011-07-01 Joone Hur <joone.hur@collabora.co.uk> 2 3 Reviewed by Martin Robinson. 4 5 [GTK] Add DeviceOrientation feature 6 https://bugs.webkit.org/show_bug.cgi?id=63720 7 8 Add DeviceMotionClientGtk.cpp and DeviceOrientationClientGtk.cpp to WebKitGtk+ build. 9 10 * GNUmakefile.am: Add DeviceMotionClientGtk.cpp, DeviceOrientationClientGtk.cpp. 11 1 12 2011-07-01 Kentaro Hara <haraken@google.com> 2 13 -
trunk/Source/WebCore/GNUmakefile.am
r89940 r90240 604 604 endif # END ENABLE_REGISTER_PROTOCOL_HANDLER 605 605 606 # --- 607 # DeviceOrientation support 608 # --- 609 if ENABLE_DEVICE_ORIENTATION 610 FEATURE_DEFINES += ENABLE_DEVICE_ORIENTATION=1 611 webcore_cppflags += -DENABLE_DEVICE_ORIENTATION=1 612 endif # END ENABLE_DEVICE_ORIENTATION 613 606 614 DerivedSources/WebCore/CSSPropertyNames.cpp: DerivedSources/WebCore/CSSPropertyNames.h 607 615 DerivedSources/WebCore/CSSPropertyNames.h: $(WEBCORE_CSS_PROPERTY_NAMES) $(WebCore)/css/makeprop.pl -
trunk/Source/WebKit/gtk/ChangeLog
r89937 r90240 1 2011-07-01 Joone Hur <joone.hur@collabora.co.uk> 2 3 Reviewed by Martin Robinson. 4 5 [GTK] Add DeviceOrientation feature 6 https://bugs.webkit.org/show_bug.cgi?id=63720 7 8 Add empty implementation of DeviceMotionClient and DeviceOrientationClient callback methods. 9 10 * GNUmakefile.am: 11 * WebCoreSupport/DeviceMotionClientGtk.cpp: Added. 12 (WebCore::DeviceMotionClientGtk::DeviceMotionClientGtk): 13 (WebCore::DeviceMotionClientGtk::~DeviceMotionClientGtk): 14 (WebCore::DeviceMotionClientGtk::deviceMotionControllerDestroyed): 15 (WebCore::DeviceMotionClientGtk::setController): 16 (WebCore::DeviceMotionClientGtk::startUpdating): 17 (WebCore::DeviceMotionClientGtk::stopUpdating): 18 (WebCore::DeviceMotionClientGtk::currentDeviceMotion): 19 * WebCoreSupport/DeviceMotionClientGtk.h: Added. 20 * WebCoreSupport/DeviceOrientationClientGtk.cpp: Added. 21 (WebCore::DeviceOrientationClientGtk::DeviceOrientationClientGtk): 22 (WebCore::DeviceOrientationClientGtk::~DeviceOrientationClientGtk): 23 (WebCore::DeviceOrientationClientGtk::deviceOrientationControllerDestroyed): 24 (WebCore::DeviceOrientationClientGtk::setController): 25 (WebCore::DeviceOrientationClientGtk::startUpdating): 26 (WebCore::DeviceOrientationClientGtk::stopUpdating): 27 (WebCore::DeviceOrientationClientGtk::lastOrientation): 28 * WebCoreSupport/DeviceOrientationClientGtk.h: Added. 29 * webkit/webkitwebview.cpp: 30 (webkit_web_view_init): 31 1 32 2011-06-28 Joone Hur <joone.hur@collabora.co.uk> 2 33 -
trunk/Source/WebKit/gtk/GNUmakefile.am
r89251 r90240 183 183 Source/WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.cpp \ 184 184 Source/WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.h \ 185 Source/WebKit/gtk/WebCoreSupport/DeviceMotionClientGtk.cpp \ 186 Source/WebKit/gtk/WebCoreSupport/DeviceMotionClientGtk.h \ 187 Source/WebKit/gtk/WebCoreSupport/DeviceOrientationClientGtk.cpp \ 188 Source/WebKit/gtk/WebCoreSupport/DeviceOrientationClientGtk.h \ 185 189 Source/WebKit/gtk/WebCoreSupport/DocumentLoaderGtk.cpp \ 186 190 Source/WebKit/gtk/WebCoreSupport/DocumentLoaderGtk.h \ -
trunk/Source/WebKit/gtk/webkit/webkitwebview.cpp
r89828 r90240 108 108 #include <wtf/gobject/GOwnPtr.h> 109 109 #include <wtf/text/CString.h> 110 111 #if ENABLE(DEVICE_ORIENTATION) 112 #include "DeviceMotionClientGtk.h" 113 #include "DeviceOrientationClientGtk.h" 114 #endif 110 115 111 116 /** … … 3376 3381 pageClients.dragClient = new WebKit::DragClient(webView); 3377 3382 pageClients.inspectorClient = new WebKit::InspectorClient(webView); 3383 3384 #if ENABLE(DEVICE_ORIENTATION) 3385 pageClients.deviceMotionClient = static_cast<WebCore::DeviceMotionClient*>(new DeviceMotionClientGtk); 3386 pageClients.deviceOrientationClient = static_cast<WebCore::DeviceOrientationClient*>(new DeviceOrientationClientGtk); 3387 #endif 3388 3378 3389 priv->corePage = new Page(pageClients); 3379 3390 -
trunk/configure.ac
r89940 r90240 928 928 [],[enable_register_protocol_handler="no"]) 929 929 AC_MSG_RESULT([$enable_register_protocol_handler]) 930 931 # check whether to enable DeviceOrientation support 932 AC_MSG_CHECKING([whether to enable DeviceOrientation]) 933 AC_ARG_ENABLE(device_orientation, 934 AC_HELP_STRING([--enable-device-orientation], 935 [enable support for DeviceOrientation (experimental and incomplete) [default=no]]), 936 [],[enable_device_orientation="no"]) 937 AC_MSG_RESULT([$enable_device_orientation]) 930 938 931 939 G_IR_SCANNER= … … 1196 1204 AM_CONDITIONAL([ENABLE_TOUCH_ICON_LOADING],[test "$enable_touch_icon_loading" = "yes"]) 1197 1205 AM_CONDITIONAL([ENABLE_REGISTER_PROTOCOL_HANDLER],[test "$enable_register_protocol_handler" = "yes"]) 1206 AM_CONDITIONAL([ENABLE_DEVICE_ORIENTATION],[test "$enable_device_orientation" = "yes"]) 1198 1207 1199 1208 # Gtk conditionals … … 1246 1255 WebGL : $enable_webgl 1247 1256 Blob support : $enable_blob 1257 DeviceOrientation support : $enable_device_orientation 1248 1258 Directory upload : $enable_directory_upload 1249 1259 Fast Mobile Scrolling : $enable_fast_mobile_scrolling
Note: See TracChangeset
for help on using the changeset viewer.