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

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

Issue 1463823003: Return a enumeration of the state of handling of InputEvents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years 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
Index: third_party/WebKit/Source/web/tests/WebViewTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebViewTest.cpp b/third_party/WebKit/Source/web/tests/WebViewTest.cpp
index 393e0b5fc9e9d2aab5e6f32e175adc5830437a97..ee1289e92c02ce990aa0b527269ade1d0fa75936 100644
--- a/third_party/WebKit/Source/web/tests/WebViewTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebViewTest.cpp
@@ -1588,7 +1588,7 @@ TEST_F(WebViewTest, ClientTapHandlingNullWebViewClient)
event.sourceDevice = WebGestureDeviceTouchscreen;
event.x = 3;
event.y = 8;
- EXPECT_FALSE(webView->handleInputEvent(event));
+ EXPECT_EQ(WebInputEventResult::NotHandled, webView->handleInputEvent(event));
webView->close();
// Explicitly close as the frame as no frame client to do so on frameDetached().
localFrame->close();

Powered by Google App Engine
This is Rietveld 408576698