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

Unified Diff: third_party/WebKit/Source/web/WebPagePopupImpl.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/WebPagePopupImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
index e41a86be8aa332207b6cdbbe12332332e7578a89..b37ce880e22fa5d31068478a09caac59277f8784 100644
--- a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
+++ b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
@@ -493,11 +493,12 @@ bool WebPagePopupImpl::isViewportPointInWindow(int x, int y) {
}
WebInputEventResult WebPagePopupImpl::handleInputEvent(
- const WebInputEvent& event) {
+ const WebInputEvent& event,
+ const std::vector<const WebInputEvent*>& coalescedEvents) {
if (m_closing)
return WebInputEventResult::NotHandled;
return PageWidgetDelegate::handleInputEvent(
- *this, event, m_page->deprecatedLocalMainFrame());
+ *this, event, coalescedEvents, m_page->deprecatedLocalMainFrame());
}
void WebPagePopupImpl::setFocus(bool enable) {

Powered by Google App Engine
This is Rietveld 408576698