[Qt][WK2] Add WebKit2 Pointer Lock Implementation
Created attachment 204986 [details] Patch
Pointer Lock is currently disabled by macro ENABLE_POINTER_LOCK
Please rebase against trunk. New features like this are also announced on webkit-dev usually.
Created attachment 205075 [details] Patch
Attachment 205075 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/platform/qt-5.0-wk2/TestExpectations', u'Source/WebCore/ChangeLog', u'Source/WebCore/Target.pri', u'Source/WebCore/page/PointerLockController.cpp', u'Source/WebCore/page/PointerLockController.h', u'Source/WebKit2/ChangeLog', u'Source/WebKit2/DerivedSources.pri', u'Source/WebKit2/Shared/API/c/WKBase.h', u'Source/WebKit2/Shared/APIClientTraits.cpp', u'Source/WebKit2/Shared/APIClientTraits.h', u'Source/WebKit2/Shared/APIObject.h', u'Source/WebKit2/Shared/WebEventConversion.cpp', u'Source/WebKit2/Shared/WebProcessCreationParameters.cpp', u'Source/WebKit2/Shared/WebProcessCreationParameters.h', u'Source/WebKit2/Target.pri', u'Source/WebKit2/UIProcess/API/C/WKAPICast.h', u'Source/WebKit2/UIProcess/API/C/WKContext.cpp', u'Source/WebKit2/UIProcess/API/C/WKContext.h', u'Source/WebKit2/UIProcess/API/C/WKPage.h', u'Source/WebKit2/UIProcess/API/C/WKPointerLockPermissionManager.cpp', u'Source/WebKit2/UIProcess/API/C/WKPointerLockPermissionManager.h', u'Source/WebKit2/UIProcess/API/C/WKPointerLockPermissionProvider.h', u'Source/WebKit2/UIProcess/API/C/WKPointerLockPermissionRequest.cpp', u'Source/WebKit2/UIProcess/API/C/WKPointerLockPermissionRequest.h', u'Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp', u'Source/WebKit2/UIProcess/API/qt/qquickwebview_p.h', u'Source/WebKit2/UIProcess/API/qt/qquickwebview_p_p.h', u'Source/WebKit2/UIProcess/API/qt/qwebpermissionrequest.cpp', u'Source/WebKit2/UIProcess/API/qt/qwebpermissionrequest_p.h', u'Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_pointerlock.qml', u'Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/pointerlock1.html', u'Source/WebKit2/UIProcess/API/qt/tests/qmltests/common/pointerlock2.html', u'Source/WebKit2/UIProcess/PointerLock/PointerLockPermissionRequest.cpp', u'Source/WebKit2/UIProcess/PointerLock/PointerLockPermissionRequest.h', u'Source/WebKit2/UIProcess/PointerLock/PointerLockPermissionRequestManagerProxy.cpp', u'Source/WebKit2/UIProcess/PointerLock/PointerLockPermissionRequestManagerProxy.h', u'Source/WebKit2/UIProcess/PointerLock/WebPointerLockManagerProxy.cpp', u'Source/WebKit2/UIProcess/PointerLock/WebPointerLockManagerProxy.h', u'Source/WebKit2/UIProcess/PointerLock/WebPointerLockManagerProxy.messages.in', u'Source/WebKit2/UIProcess/PointerLock/WebPointerLockPermissionManagerProxy.cpp', u'Source/WebKit2/UIProcess/PointerLock/WebPointerLockPermissionManagerProxy.h', u'Source/WebKit2/UIProcess/PointerLock/WebPointerLockPermissionProvider.cpp', u'Source/WebKit2/UIProcess/PointerLock/WebPointerLockPermissionProvider.h', u'Source/WebKit2/UIProcess/PointerLock/qt/WebPointerLockManagerProxyQt.cpp', u'Source/WebKit2/UIProcess/WebContext.cpp', u'Source/WebKit2/UIProcess/WebPageProxy.cpp', u'Source/WebKit2/UIProcess/WebPageProxy.h', u'Source/WebKit2/UIProcess/WebPageProxy.messages.in', u'Source/WebKit2/UIProcess/WebUIClient.cpp', u'Source/WebKit2/UIProcess/WebUIClient.h', u'Source/WebKit2/UIProcess/qt/QtDialogRunner.h', u'Source/WebKit2/UIProcess/qt/QtWebPageUIClient.cpp', u'Source/WebKit2/UIProcess/qt/QtWebPageUIClient.h', u'Source/WebKit2/WebKit2.pri', u'Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePage.cpp', u'Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePage.h', u'Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp', u'Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.h', u'Source/WebKit2/WebProcess/InjectedBundle/InjectedBundlePagePointerLockClient.cpp', u'Source/WebKit2/WebProcess/InjectedBundle/InjectedBundlePagePointerLockClient.h', u'Source/WebKit2/WebProcess/PointerLock/PointerLockPermissionRequestManager.cpp', u'Source/WebKit2/WebProcess/PointerLock/PointerLockPermissionRequestManager.h', u'Source/WebKit2/WebProcess/PointerLock/WebPointerLockManager.cpp', u'Source/WebKit2/WebProcess/PointerLock/WebPointerLockManager.h', u'Source/WebKit2/WebProcess/PointerLock/WebPointerLockManager.messages.in', u'Source/WebKit2/WebProcess/PointerLock/WebPointerLockPermissionCallback.cpp', u'Source/WebKit2/WebProcess/PointerLock/WebPointerLockPermissionCallback.h', u'Source/WebKit2/WebProcess/PointerLock/WebPointerLockPermissionManager.cpp', u'Source/WebKit2/WebProcess/PointerLock/WebPointerLockPermissionManager.h', u'Source/WebKit2/WebProcess/PointerLock/WebPointerLockPermissionManager.messages.in', u'Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp', u'Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.h', u'Source/WebKit2/WebProcess/WebPage/WebPage.cpp', u'Source/WebKit2/WebProcess/WebPage/WebPage.h', u'Source/WebKit2/WebProcess/WebPage/WebPage.messages.in', u'Source/WebKit2/WebProcess/WebProcess.cpp', u'Tools/ChangeLog', u'Tools/MiniBrowser/qt/MiniBrowserApplication.cpp', u'Tools/MiniBrowser/qt/qml/BrowserWindow.qml', u'Tools/WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl', u'Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp', u'Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.h', u'Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp', u'Tools/WebKitTestRunner/InjectedBundle/TestRunner.h', u'Tools/WebKitTestRunner/Target.pri', u'Tools/WebKitTestRunner/TestController.cpp', u'Tools/WebKitTestRunner/TestController.h', u'Tools/WebKitTestRunner/WebPointerLockPermissionProvider.cpp', u'Tools/WebKitTestRunner/WebPointerLockPermissionProvider.h', u'Tools/qmake/mkspecs/features/features.pri']" exit_code: 1 Source/WebKit2/UIProcess/API/qt/qwebpermissionrequest.cpp:78: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Source/WebKit2/UIProcess/API/qt/qwebpermissionrequest_p.h:66: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 2 in 90 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 205075 [details] Patch Attachment 205075 [details] did not pass efl-wk2-ews (efl-wk2): Output: http://webkit-queues.appspot.com/results/942507
Comment on attachment 205075 [details] Patch Attachment 205075 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/880511
Comment on attachment 205075 [details] Patch Attachment 205075 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/951506
Created attachment 205185 [details] Patch
Comment on attachment 205185 [details] Patch Attachment 205185 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/937647
Comment on attachment 205185 [details] Patch Attachment 205185 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/961112
Created attachment 205189 [details] Patch
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Comment on attachment 205189 [details] Patch Attachment 205189 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/884547
Comment on attachment 205189 [details] Patch Attachment 205189 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/918602
Created attachment 205285 [details] Patch
Please announce this new feature in webkit-dev, as explained in http://www.webkit.org/coding/adding-features.html
I think you should break this patch up in to smaller pieces.
Ok. I've started breaking up it by submitting 2 patches that contain basics implementations. If/Once they be approved, I'll continue to submit patches with any other changes from this big patch accordingly comments.
Hi, it seems like we are working on the same feature for different ports. You should check https://bugs.webkit.org/show_bug.cgi?id=99036.
Comment on attachment 205285 [details] Patch Qt has been removed, clearing review flags.
=== Bulk closing of Qt bugs === If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary. If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.