Changeset 68204 in webkit
- Timestamp:
- Sep 23, 2010 3:08:51 PM (14 years ago)
- Location:
- trunk/WebKit/qt
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/qt/Api/qwebkitplatformplugin.h
r68128 r68204 85 85 }; 86 86 87 class QWebHapticFeedbackPlayer 87 class QWebHapticFeedbackPlayer: public QObject 88 88 { 89 Q_OBJECT 89 90 public: 91 QWebHapticFeedbackPlayer() {} 92 virtual ~QWebHapticFeedbackPlayer() {} 93 90 94 enum HapticStrength { 91 95 None, Weak, Medium, Strong -
trunk/WebKit/qt/ChangeLog
r68166 r68204 1 2010-09-23 Ademar de Souza Reis Jr <ademar.reis@openbossa.org> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 Fix QWebHapticFeedbackPlayer exposure via QWebKitPlatformPlugin 6 7 [Qt] QWebHapticFeedbackPlayer needs correct exposure through QWebKitPlatformPlugin 8 https://bugs.webkit.org/show_bug.cgi?id=46402 9 10 QWebHapticFeedbackPlayer is exported through 11 QWebKitPlatformPlugin::createExtension(), but 12 createHapticFeedbackPlayer() and the correct 13 inheritage are missing. 14 15 * Api/qwebkitplatformplugin.h: 16 * WebCoreSupport/QtPlatformPlugin.cpp: 17 (WebCore::QtPlatformPlugin::createHapticFeedbackPlayer): 18 * WebCoreSupport/QtPlatformPlugin.h: 19 1 20 2010-09-23 Nate Chapin <japhet@chromium.org> 2 21 -
trunk/WebKit/qt/WebCoreSupport/QtPlatformPlugin.cpp
r68128 r68204 102 102 } 103 103 104 QWebHapticFeedbackPlayer* QtPlatformPlugin::createHapticFeedbackPlayer() 105 { 106 QWebKitPlatformPlugin* p = plugin(); 107 return p ? qobject_cast<QWebHapticFeedbackPlayer*>(p->createExtension(QWebKitPlatformPlugin::Haptics)) : 0; 104 108 } 109 110 } -
trunk/WebKit/qt/WebCoreSupport/QtPlatformPlugin.h
r64829 r68204 27 27 class QWebKitPlatformPlugin; 28 28 class QWebNotificationPresenter; 29 class QWebHapticFeedbackPlayer; 29 30 class QWebSelectData; 30 31 … … 38 39 QWebSelectMethod* createSelectInputMethod(); 39 40 QWebNotificationPresenter* createNotificationPresenter(); 41 QWebHapticFeedbackPlayer* createHapticFeedbackPlayer(); 40 42 41 43 QWebKitPlatformPlugin* plugin();
Note: See TracChangeset
for help on using the changeset viewer.