-
jochen@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=111959 Reviewed by Alexey Proskuryakov. Source/WebCore: The rationale is that the UserGestureIndicator will increase the number of consumable user gestures when it's invoked with what is now DefinitelyProcessingNewUserGesture. In a follow-up change I will reintroduce DefinitelyProcessingUserGesture which will only increase the consumable user gesture count if we are not already processing a user gesture. No new tests, no change in functionality. * accessibility/AccessibilityNodeObject.cpp: (WebCore::AccessibilityNodeObject::increment): (WebCore::AccessibilityNodeObject::decrement): * accessibility/AccessibilityObject.cpp: (WebCore::AccessibilityObject::press): * bindings/ScriptControllerBase.cpp: (WebCore::ScriptController::executeScript): * bindings/js/ScriptController.cpp: (WebCore::ScriptController::executeScriptInWorld): * bindings/v8/NPV8Object.cpp: (_NPN_EvaluateHelper): * dom/UserGestureIndicator.cpp: (WebCore::isDefinite): (WebCore::UserGestureIndicator::UserGestureIndicator): (WebCore::UserGestureIndicator::processingUserGesture): * dom/UserGestureIndicator.h: * inspector/InspectorFrontendClientLocal.cpp: (WebCore::InspectorFrontendClientLocal::openInNewTab): * inspector/InspectorFrontendHost.cpp: (WebCore::FrontendMenuProvider::contextMenuItemSelected): * inspector/InspectorPageAgent.cpp: (WebCore::InspectorPageAgent::navigate): * loader/NavigationScheduler.cpp: (WebCore::ScheduledURLNavigation::fire): (WebCore::ScheduledURLNavigation::didStartTimer): (WebCore::ScheduledRedirect::fire): (WebCore::ScheduledRefresh::fire): (WebCore::ScheduledHistoryNavigation::fire): (WebCore::ScheduledFormSubmission::fire): (WebCore::ScheduledFormSubmission::didStartTimer): * page/EventHandler.cpp: (WebCore::EventHandler::handleMousePressEvent): (WebCore::EventHandler::handleMouseDoubleClickEvent): (WebCore::EventHandler::handleMouseReleaseEvent): (WebCore::EventHandler::keyEvent): (WebCore::EventHandler::handleTouchEvent): * platform/chromium/PopupContainer.cpp: (WebCore::PopupContainer::handleMouseDownEvent): (WebCore::PopupContainer::handleMouseMoveEvent): (WebCore::PopupContainer::handleMouseReleaseEvent): (WebCore::PopupContainer::handleWheelEvent): (WebCore::PopupContainer::handleKeyEvent): Source/WebKit/blackberry: * WebKitSupport/NotificationManager.cpp: (BlackBerry::WebKit::NotificationManager::notificationClicked): Source/WebKit/chromium: * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::executeScriptAndReturnValue): * src/WebNotification.cpp: (WebKit::WebNotification::dispatchClickEvent): * src/WebPluginContainerImpl.cpp: (WebKit::WebPluginContainerImpl::handleEvent): (WebKit::WebPluginContainerImpl::loadFrameRequest): * src/WebScopedUserGesture.cpp: (WebKit::WebScopedUserGesture::initialize): * tests/WebUserGestureTokenTest.cpp: (WebCore::TEST): Source/WebKit/mac: * Plugins/Hosted/NetscapePluginInstanceProxy.mm: (WebKit::NetscapePluginInstanceProxy::evaluate): * Plugins/WebNetscapePluginView.mm: (-[WebNetscapePluginView sendEvent:isDrawRect:]): Source/WebKit/qt: * WebCoreSupport/NotificationPresenterClientQt.cpp: (WebCore::NotificationPresenterClientQt::notificationClicked): Source/WebKit/win: * WebCoreSupport/WebContextMenuClient.cpp: (WebContextMenuClient::searchWithGoogle): Source/WebKit2: * WebProcess/Notifications/WebNotificationManager.cpp: (WebKit::WebNotificationManager::didClickNotification): * WebProcess/Plugins/PluginView.cpp: (WebKit::PluginView::evaluate): * WebProcess/WebCoreSupport/WebContextMenuClient.cpp: (WebKit::WebContextMenuClient::searchWithGoogle): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145453 268f45cc-cd09-0410-ab3c-d52691b4dbfc
03ba0510