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

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

Issue 2479123003: WIP Add getCoalescedEvents API using vector of WebInputEvents (Closed)
Patch Set: 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 8ced299e119e36102b46e9c77918671274d329c0..c4ec327af0c5d56d4d9de35cf84a0427821f566c 100644
--- a/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
@@ -453,8 +453,10 @@ class EventTestPlugin : public FakeWebPlugin {
: FakeWebPlugin(frame, params),
m_lastEventType(WebInputEvent::Undefined) {}
- WebInputEventResult handleInputEvent(const WebInputEvent& event,
- WebCursorInfo&) override {
+ WebInputEventResult handleInputEvent(
+ const WebInputEvent& event,
+ const std::vector<const blink::WebInputEvent*>&,
+ WebCursorInfo&) override {
m_lastEventType = event.type;
return WebInputEventResult::HandledSystem;
}

Powered by Google App Engine
This is Rietveld 408576698