Changeset 68978 in webkit
- Timestamp:
- Oct 2, 2010 2:16:10 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r68976 r68978 1 2010-10-02 Diego Gonzalez <diegohcg@webkit.org> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 [Qt] Provide Qt support for DeviceMotion/Orientation clients 6 https://bugs.webkit.org/show_bug.cgi?id=47051 7 8 Add Qt DeviceMotion/Orientation dummy clients in build system. 9 10 * WebCore.pro: 11 1 12 2010-10-01 Nikolas Zimmermann <nzimmermann@rim.com> 2 13 -
trunk/WebCore/WebCore.pro
r68976 r68978 3267 3267 } 3268 3268 3269 contains(DEFINES, ENABLE_DEVICE_ORIENTATION=1) { 3270 HEADERS += \ 3271 ../WebKit/qt/WebCoreSupport/DeviceMotionClientQt.h \ 3272 ../WebKit/qt/WebCoreSupport/DeviceOrientationClientQt.h \ 3273 bindings/generic/RuntimeEnabledFeatures.h 3274 SOURCES += \ 3275 ../WebKit/qt/WebCoreSupport/DeviceMotionClientQt.cpp \ 3276 ../WebKit/qt/WebCoreSupport/DeviceOrientationClientQt.cpp \ 3277 bindings/generic/RuntimeEnabledFeatures.cpp 3278 } 3279 3269 3280 contains(DEFINES, ENABLE_SVG=1) { 3270 3281 !v8 { -
trunk/WebKit/qt/Api/qwebpage.cpp
r68525 r68978 46 46 #include "ContextMenu.h" 47 47 #include "ContextMenuClientQt.h" 48 #include "DeviceMotionClientQt.h" 49 #include "DeviceOrientationClientQt.h" 48 50 #include "DocumentLoader.h" 49 51 #include "DragClientQt.h" … … 299 301 pageClients.dragClient = new DragClientQt(q); 300 302 pageClients.inspectorClient = new InspectorClientQt(q); 303 #if ENABLE(DEVICE_ORIENTATION) 304 pageClients.deviceOrientationClient = new DeviceOrientationClientQt(q); 305 pageClients.deviceMotionClient = new DeviceMotionClientQt(q); 306 #endif 301 307 page = new Page(pageClients); 302 308 -
trunk/WebKit/qt/ChangeLog
r68825 r68978 1 2010-10-02 Diego Gonzalez <diegohcg@webkit.org> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 [Qt] Provide Qt support for DeviceMotion/Orientation clients 6 https://bugs.webkit.org/show_bug.cgi?id=47051 7 8 Dummy implementation of DeviceMotion/Orientation client classes 9 to make possible to hook up motion/orientation data 10 in further implementations. 11 12 * Api/qwebpage.cpp: 13 (QWebPagePrivate::QWebPagePrivate): 14 * WebCoreSupport/DeviceMotionClientQt.cpp: Added. 15 (WebCore::DeviceMotionClientQt::DeviceMotionClientQt): 16 (WebCore::DeviceMotionClientQt::setController): 17 (WebCore::DeviceMotionClientQt::startUpdating): 18 (WebCore::DeviceMotionClientQt::stopUpdating): 19 (WebCore::DeviceMotionClientQt::currentDeviceMotion): 20 (WebCore::DeviceMotionClientQt::deviceMotionControllerDestroyed): 21 * WebCoreSupport/DeviceMotionClientQt.h: Added. 22 (WebCore::DeviceMotionClientQt::~DeviceMotionClientQt): 23 * WebCoreSupport/DeviceOrientationClientQt.cpp: Added. 24 (WebCore::DeviceOrientationClientQt::DeviceOrientationClientQt): 25 (WebCore::DeviceOrientationClientQt::setController): 26 (WebCore::DeviceOrientationClientQt::startUpdating): 27 (WebCore::DeviceOrientationClientQt::stopUpdating): 28 (WebCore::DeviceOrientationClientQt::lastOrientation): 29 (WebCore::DeviceOrientationClientQt::deviceOrientationControllerDestroyed): 30 * WebCoreSupport/DeviceOrientationClientQt.h: Added. 31 (WebCore::DeviceOrientationClientQt::~DeviceOrientationClientQt): 32 1 33 2010-09-30 Robert Hogan <robert@webkit.org> 2 34
Note: See TracChangeset
for help on using the changeset viewer.