Home
last modified time | relevance | path

Searched refs:UserGestureIndicator (Results 1 – 25 of 40) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/platform/
DUserGestureIndicator.cpp113 ProcessingUserGestureState UserGestureIndicator::s_state = DefinitelyNotProcessingUserGesture;
114 UserGestureIndicator* UserGestureIndicator::s_topmostIndicator = 0;
115 bool UserGestureIndicator::s_processedUserGestureInPast = false;
117 UserGestureIndicator::UserGestureIndicator(ProcessingUserGestureState state) in UserGestureIndicator() function in WebCore::UserGestureIndicator
145 UserGestureIndicator::UserGestureIndicator(PassRefPtr<UserGestureToken> token) in UserGestureIndicator() function in WebCore::UserGestureIndicator
170 UserGestureIndicator::~UserGestureIndicator() in ~UserGestureIndicator()
180 bool UserGestureIndicator::processingUserGesture() in processingUserGesture()
187 bool UserGestureIndicator::consumeUserGesture() in consumeUserGesture()
194 UserGestureToken* UserGestureIndicator::currentToken() in currentToken()
201 void UserGestureIndicator::clearProcessedUserGestureInPast() in clearProcessedUserGestureInPast()
[all …]
DUserGestureIndicator.h36 class UserGestureIndicator; variable
61 UserGestureIndicator* m_savedIndicator;
64 class PLATFORM_EXPORT UserGestureIndicator {
65 WTF_MAKE_NONCOPYABLE(UserGestureIndicator);
74 explicit UserGestureIndicator(ProcessingUserGestureState);
75 explicit UserGestureIndicator(PassRefPtr<UserGestureToken>);
76 ~UserGestureIndicator();
81 static UserGestureIndicator* s_topmostIndicator;
/external/chromium_org/third_party/WebKit/Source/web/tests/
DWebUserGestureTokenTest.cpp49 UserGestureIndicator::clearProcessedUserGestureInPast(); in TEST()
50 EXPECT_FALSE(UserGestureIndicator::processedUserGestureInPast()); in TEST()
58 UserGestureIndicator indicator(DefinitelyProcessingNewUserGesture); in TEST()
61 EXPECT_TRUE(UserGestureIndicator::processedUserGestureInPast()); in TEST()
81 EXPECT_TRUE(UserGestureIndicator::processedUserGestureInPast()); in TEST()
/external/chromium_org/third_party/WebKit/Source/core/loader/
DNavigationScheduler.cpp63 , m_wasUserGesture(UserGestureIndicator::processingUserGesture()) in ScheduledNavigation()
66 m_userGestureToken = UserGestureIndicator::currentToken(); in ScheduledNavigation()
77 PassOwnPtr<UserGestureIndicator> createUserGestureIndicator() in createUserGestureIndicator()
80 return adoptPtr(new UserGestureIndicator(m_userGestureToken)); in createUserGestureIndicator()
81 return adoptPtr(new UserGestureIndicator(DefinitelyNotProcessingUserGesture)); in createUserGestureIndicator()
109 OwnPtr<UserGestureIndicator> gestureIndicator = createUserGestureIndicator(); in fire()
138 OwnPtr<UserGestureIndicator> gestureIndicator = createUserGestureIndicator(); in fire()
163 OwnPtr<UserGestureIndicator> gestureIndicator = createUserGestureIndicator(); in fire()
181 OwnPtr<UserGestureIndicator> gestureIndicator = createUserGestureIndicator(); in fire()
211 OwnPtr<UserGestureIndicator> gestureIndicator = createUserGestureIndicator(); in fire()
[all …]
DDocumentLoader.cpp323 if (!LocalDOMWindow::allowPopUp(*m_frame) && !UserGestureIndicator::processingUserGesture()) in shouldContinueForNavigationPolicy()
/external/chromium_org/third_party/WebKit/Source/web/
DWebUserGestureIndicator.cpp43 return UserGestureIndicator::processingUserGesture(); in isProcessingUserGesture()
48 return UserGestureIndicator::consumeUserGesture(); in consumeUserGesture()
53 return WebUserGestureToken(UserGestureIndicator::currentToken()); in currentUserGestureToken()
DWebScopedUserGesture.cpp41 … m_indicator.reset(new WebCore::UserGestureIndicator(WebCore::DefinitelyProcessingNewUserGesture)); in initialize()
47 m_indicator.reset(new WebCore::UserGestureIndicator(token)); in initializeWithToken()
DPopupContainer.cpp260 UserGestureIndicator gestureIndicator(DefinitelyProcessingNewUserGesture); in handleMouseDownEvent()
267 UserGestureIndicator gestureIndicator(DefinitelyProcessingNewUserGesture); in handleMouseMoveEvent()
275 UserGestureIndicator gestureIndicator(DefinitelyProcessingNewUserGesture); in handleMouseReleaseEvent()
282 UserGestureIndicator gestureIndicator(DefinitelyProcessingNewUserGesture); in handleWheelEvent()
325 UserGestureIndicator gestureIndicator(DefinitelyProcessingNewUserGesture); in handleKeyEvent()
DWebPluginContainerImpl.cpp452UserGestureIndicator gestureIndicator(popupsAllowed ? DefinitelyProcessingNewUserGesture : Possibl… in executeScriptURL()
479UserGestureIndicator gestureIndicator(request.hasUserGesture() ? DefinitelyProcessingNewUserGestur… in loadFrameRequest()
DWebViewImpl.cpp262 UserGestureIndicator::clearProcessedUserGestureInPast(); in UserGestureNotifier()
267 if (!*m_userGestureObserved && UserGestureIndicator::processedUserGestureInPast()) { in ~UserGestureNotifier()
1906 OwnPtr<UserGestureIndicator> gestureIndicator; in handleInputEvent()
1918 … gestureIndicator = adoptPtr(new UserGestureIndicator(DefinitelyProcessingNewUserGesture)); in handleInputEvent()
1923 … gestureIndicator = adoptPtr(new UserGestureIndicator(m_mouseCaptureGestureToken.release())); in handleInputEvent()
3310 UserGestureIndicator gesture(DefinitelyProcessingNewUserGesture); in dragTargetDrop()
/external/chromium_org/third_party/WebKit/public/web/
DWebScopedUserGesture.h37 class UserGestureIndicator; variable
68 WebPrivateOwnPtr<WebCore::UserGestureIndicator> m_indicator;
/external/chromium_org/third_party/WebKit/Source/core/frame/
DDOMTimer.cpp52 return UserGestureIndicator::processingUserGesture() in shouldForwardUserGesture()
97 m_userGestureToken = UserGestureIndicator::currentToken(); in DOMTimer()
123 UserGestureIndicator gestureIndicator(m_userGestureToken.release()); in fired()
DLocalDOMWindow.cpp308 if (UserGestureIndicator::processingUserGesture()) in allowPopUp()
870 …, source, channels.release(), target.get(), stackTrace.release(), UserGestureIndicator::currentTok… in postMessage()
893 UserGestureIndicator gestureIndicator(timer->userGestureToken()); in postMessageTimerFired()
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
DBaseChooserOnlyDateAndTimeInputType.cpp46 …if (element().isDisabledOrReadOnly() || !element().renderer() || !UserGestureIndicator::processing… in handleDOMActivateEvent()
DColorInputType.cpp159 if (!UserGestureIndicator::processingUserGesture()) in handleDOMActivateEvent()
DFileInputType.cpp149 if (!UserGestureIndicator::processingUserGesture()) in handleDOMActivateEvent()
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorFrontendHost.cpp91 UserGestureIndicator gestureIndicator(DefinitelyProcessingNewUserGesture); in contextMenuItemSelected()
/external/chromium_org/third_party/WebKit/Source/modules/notifications/
DNotification.cpp121 UserGestureIndicator gestureIndicator(DefinitelyProcessingNewUserGesture); in dispatchClickEvent()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLFormElement.cpp340 submit(0, false, UserGestureIndicator::processingUserGesture(), SubmittedByJavaScript); in submitFromJavaScript()
424 …if (!LocalDOMWindow::allowPopUp(*document().frame()) && !UserGestureIndicator::processingUserGestu… in scheduleFormSubmission()
477 else if (!UserGestureIndicator::processingUserGesture()) in requestAutocomplete()
DHTMLMediaElement.cpp687 if (UserGestureIndicator::processingUserGesture()) in load()
2182 if (m_userGestureRequiredForPlay && !UserGestureIndicator::processingUserGesture()) in play()
2184 if (UserGestureIndicator::processingUserGesture()) in play()
3115 UserGestureIndicator gestureIndicator(DefinitelyProcessingNewUserGesture); in mediaPlayerRequestFullscreen()
/external/chromium_org/third_party/WebKit/Source/core/page/
DEventHandler.cpp1214 UserGestureIndicator gestureIndicator(DefinitelyProcessingUserGesture); in handleMousePressEvent()
1517 OwnPtr<UserGestureIndicator> gestureIndicator; in handleMouseReleaseEvent()
1520 …gestureIndicator = adoptPtr(new UserGestureIndicator(m_frame->localFrameRoot()->eventHandler().m_l… in handleMouseReleaseEvent()
1522 gestureIndicator = adoptPtr(new UserGestureIndicator(DefinitelyProcessingUserGesture)); in handleMouseReleaseEvent()
2908 UserGestureIndicator gestureIndicator(DefinitelyProcessingUserGesture); in keyEvent()
3424 OwnPtr<UserGestureIndicator> gestureIndicator; in handleTouchEvent()
3427 … gestureIndicator = adoptPtr(new UserGestureIndicator(m_touchSequenceUserGestureToken.release())); in handleTouchEvent()
3429 gestureIndicator = adoptPtr(new UserGestureIndicator(DefinitelyProcessingUserGesture)); in handleTouchEvent()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DFullscreenElementStack.cpp224 if (!UserGestureIndicator::processingUserGesture()) in requestFullScreenForElement()
/external/chromium_org/third_party/WebKit/Source/core/accessibility/
DAXNodeObject.cpp1514 UserGestureIndicator gestureIndicator(DefinitelyProcessingNewUserGesture); in increment()
1520 UserGestureIndicator gestureIndicator(DefinitelyProcessingNewUserGesture); in decrement()
DAXObject.cpp637 UserGestureIndicator gestureIndicator(DefinitelyProcessingNewUserGesture); in press()
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DNPV8Object.cpp355UserGestureIndicator gestureIndicator(popupsAllowed ? DefinitelyProcessingNewUserGesture : Possibl… in _NPN_EvaluateHelper()

12