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

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

Issue 2479123003: WIP Add getCoalescedEvents API using vector of WebInputEvents (Closed)
Patch Set: Creating CoalescedWebInputEvent Created 4 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 8528137be78d62099bd41ce4e6b038e9d3fdd890..d11427c54204c8bfeb3f3065681e18a46c801cac 100644
--- a/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
@@ -453,9 +453,10 @@ class EventTestPlugin : public FakeWebPlugin {
: FakeWebPlugin(frame, params),
m_lastEventType(WebInputEvent::Undefined) {}
- WebInputEventResult handleInputEvent(const WebInputEvent& event,
- WebCursorInfo&) override {
- m_lastEventType = event.type;
+ WebInputEventResult handleInputEvent(
+ const CoalescedWebInputEvent& coalescedEvent,
+ WebCursorInfo&) override {
+ m_lastEventType = coalescedEvent.event().type;
return WebInputEventResult::HandledSystem;
}
WebInputEvent::Type getLastInputEventType() { return m_lastEventType; }

Powered by Google App Engine
This is Rietveld 408576698