https://bugs.webkit.org/show_bug.cgi?id=149453
Reviewed by Csaba Osztrogonác.
.:
* Source/cmake/OptionsEfl.cmake: Add a ENABLE_POINTER_LOCK.
Source/WebCore:
Some cmake ports will be able to enable POINTER_LOCK. To support it,
this patch adds PointerLockController.cpp, and fix a build break in WK2.
* CMakeLists.txt:
Source/WebKit2:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::navigateToPDFLinkWithSimulatedClick): Fix a build break.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@190152
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2015-09-22 Gyuyoung Kim <gyuyoung.kim@webkit.org>
+
+ Add a file of pointer-lock to cmake ports
+ https://bugs.webkit.org/show_bug.cgi?id=149453
+
+ Reviewed by Csaba Osztrogonác.
+
+ * Source/cmake/OptionsEfl.cmake: Add a ENABLE_POINTER_LOCK.
+
2015-09-22 Carlos Alberto Lopez Perez <clopez@igalia.com>
[CMake] Allow to enable OpenMP support.
page/PerformanceResourceTiming.cpp
page/PerformanceTiming.cpp
page/PerformanceUserTiming.cpp
+ page/PointerLockController.cpp
page/PrintContext.cpp
page/Screen.cpp
page/SecurityOrigin.cpp
+2015-09-22 Gyuyoung Kim <gyuyoung.kim@webkit.org>
+
+ Add a file of pointer-lock to cmake ports
+ https://bugs.webkit.org/show_bug.cgi?id=149453
+
+ Reviewed by Csaba Osztrogonác.
+
+ Some cmake ports will be able to enable POINTER_LOCK. To support it,
+ this patch adds PointerLockController.cpp, and fix a build break in WK2.
+
+ * CMakeLists.txt:
+
2015-09-22 Chris Dumez <cdumez@apple.com>
Drop unnecessary ancestor traversal in Range::selectNode()
+2015-09-22 Gyuyoung Kim <gyuyoung.kim@webkit.org>
+
+ Add a file of pointer-lock to cmake ports
+ https://bugs.webkit.org/show_bug.cgi?id=149453
+
+ Reviewed by Csaba Osztrogonác.
+
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::navigateToPDFLinkWithSimulatedClick): Fix a build break.
+
2015-09-22 Anders Carlsson <andersca@apple.com>
URL of page visited in private browsing still appears in Activity Monitor after page is closed
return;
const int singleClick = 1;
- RefPtr<MouseEvent> mouseEvent = MouseEvent::create(eventNames().clickEvent, true, true, currentTime(), nullptr, singleClick, screenPoint.x(), screenPoint.y(), documentPoint.x(), documentPoint.y(), false, false, false, false, 0, nullptr, 0, nullptr);
+ RefPtr<MouseEvent> mouseEvent = MouseEvent::create(eventNames().clickEvent, true, true, currentTime(), nullptr, singleClick, screenPoint.x(), screenPoint.y(), documentPoint.x(), documentPoint.y(),
+#if ENABLE(POINTER_LOCK)
+ 0, 0,
+#endif
+ false, false, false, false, 0, nullptr, 0, nullptr);
mainFrame->loader().urlSelected(mainFrameDocument->completeURL(url), emptyString(), mouseEvent.get(), LockHistory::No, LockBackForwardList::No, ShouldSendReferrer::MaybeSendReferrer, ShouldOpenExternalURLsPolicy::ShouldNotAllow);
}
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_NETWORK_PROCESS PUBLIC ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_NOSNIFF PUBLIC ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_PICTURE_SIZES PUBLIC ON)
+WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_POINTER_LOCK PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_PUBLIC_SUFFIX_LIST PRIVATE ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_RESOLUTION_MEDIA_QUERY PUBLIC ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_REQUEST_ANIMATION_FRAME PUBLIC ON)