Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(920)

Unified Diff: third_party/WebKit/Source/web/tests/WebUserGestureTokenTest.cpp

Issue 2401123002: UserGestureIndicator is a mess. Clean it up. (Closed)
Patch Set: Callback cleanup, comments Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/tests/WebUserGestureTokenTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebUserGestureTokenTest.cpp b/third_party/WebKit/Source/web/tests/WebUserGestureTokenTest.cpp
index 2ec059a1b5e973b9de0022785e1708b93ce69709..0095ec9eb15182e0b6f03a0a20f5d62d02b0ee22 100644
--- a/third_party/WebKit/Source/web/tests/WebUserGestureTokenTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebUserGestureTokenTest.cpp
@@ -49,7 +49,8 @@ TEST(WebUserGestureTokenTest, Basic) {
}
{
- UserGestureIndicator indicator(DefinitelyProcessingNewUserGesture);
+ UserGestureIndicator indicator(
+ UserGestureToken::create(UserGestureToken::NewGesture));
EXPECT_TRUE(WebUserGestureIndicator::isProcessingUserGesture());
token = WebUserGestureIndicator::currentUserGestureToken();
EXPECT_TRUE(UserGestureIndicator::processedUserGestureSinceLoad());
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698