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

Unified Diff: third_party/WebKit/Source/web/tests/WebPluginContainerTest.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: Fix build failures and disabled click test Created 5 years, 1 month 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/WebPluginContainerTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp b/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
index abe1920a61b5281abfb28d33ecd5d54b5904d720..c40642dc5cfc2adb209a835ac7d125f107bb501f 100644
--- a/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
@@ -315,10 +315,10 @@ public:
{
}
- bool handleInputEvent(const WebInputEvent& event, WebCursorInfo&) override
+ WebInputEventResult handleInputEvent(const WebInputEvent& event, WebCursorInfo&) override
{
m_lastEventType = event.type;
- return true;
+ return WebInputEventResult::HandledDefaultHandler;
}
WebInputEvent::Type getLastInputEventType() {return m_lastEventType; }

Powered by Google App Engine
This is Rietveld 408576698