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

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: 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/WebPluginContainerTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp b/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
index abe1920a61b5281abfb28d33ecd5d54b5904d720..1b32f730a7a9ae57055046e6a5b70e5b615b5f3d 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::HandledSystem;
}
WebInputEvent::Type getLastInputEventType() {return m_lastEventType; }

Powered by Google App Engine
This is Rietveld 408576698