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

Unified Diff: third_party/WebKit/Source/web/WebFrameWidgetImpl.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/WebFrameWidgetImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
index 804f75d88c2f34fe3eaec5c1db5239ab51cbd93e..cbf519ee2fc068e7b7b48d104f878a85e1cbd09a 100644
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
@@ -311,7 +311,8 @@ void WebFrameWidgetImpl::themeChanged() {
const WebInputEvent* WebFrameWidgetImpl::m_currentInputEvent = nullptr;
WebInputEventResult WebFrameWidgetImpl::handleInputEvent(
- const WebInputEvent& inputEvent) {
+ const WebInputEvent& inputEvent,
+ const std::vector<const WebInputEvent*>& coalescedevents) {
TRACE_EVENT1("input", "WebFrameWidgetImpl::handleInputEvent", "type",
WebInputEvent::GetName(inputEvent.type));
@@ -372,8 +373,8 @@ WebInputEventResult WebFrameWidgetImpl::handleInputEvent(
return WebInputEventResult::HandledSystem;
}
- return PageWidgetDelegate::handleInputEvent(*this, inputEvent,
- m_localRoot->frame());
+ return PageWidgetDelegate::handleInputEvent(
+ *this, inputEvent, coalescedevents, m_localRoot->frame());
}
void WebFrameWidgetImpl::setCursorVisibilityState(bool isVisible) {

Powered by Google App Engine
This is Rietveld 408576698