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

Unified Diff: components/plugins/renderer/webview_plugin.cc

Issue 2844823002: Support Coalesced Touch in ppapi (Closed)
Patch Set: Support Coalesced Touch in ppapi Created 3 years, 7 months 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
« no previous file with comments | « components/plugins/renderer/webview_plugin.h ('k') | content/renderer/browser_plugin/browser_plugin.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/plugins/renderer/webview_plugin.cc
diff --git a/components/plugins/renderer/webview_plugin.cc b/components/plugins/renderer/webview_plugin.cc
index 79cf4453e5edadbb9f651db70d13a0a37e171e61..34df3a348716a3f7dfbd92baf3abf0be54a0f26e 100644
--- a/components/plugins/renderer/webview_plugin.cc
+++ b/components/plugins/renderer/webview_plugin.cc
@@ -28,6 +28,7 @@
#include "third_party/WebKit/public/web/WebView.h"
using blink::WebCanvas;
+using blink::WebCoalescedInputEvent;
tommycli 2017/05/09 18:06:11 nit: Remove both blink::WebCoalescedInputEvent and
using blink::WebCursorInfo;
using blink::WebDragData;
using blink::WebDragOperationsMask;
@@ -206,8 +207,9 @@ void WebViewPlugin::UpdateFocus(bool focused, blink::WebFocusType focus_type) {
}
blink::WebInputEventResult WebViewPlugin::HandleInputEvent(
- const WebInputEvent& event,
+ const WebCoalescedInputEvent& coalesced_event,
WebCursorInfo& cursor) {
+ const WebInputEvent& event = coalesced_event.Event();
// For tap events, don't handle them. They will be converted to
// mouse events later and passed to here.
if (event.GetType() == WebInputEvent::kGestureTap)
« no previous file with comments | « components/plugins/renderer/webview_plugin.h ('k') | content/renderer/browser_plugin/browser_plugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698