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

Unified Diff: content/renderer/browser_plugin/browser_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
Index: content/renderer/browser_plugin/browser_plugin.cc
diff --git a/content/renderer/browser_plugin/browser_plugin.cc b/content/renderer/browser_plugin/browser_plugin.cc
index 8f14c29aa7071f9d0ac0a45d1755cd409e5cb5ea..eca5cc9c1664d06e5aa81563eff924f9082d35c0 100644
--- a/content/renderer/browser_plugin/browser_plugin.cc
+++ b/content/renderer/browser_plugin/browser_plugin.cc
@@ -29,6 +29,7 @@
#include "content/renderer/drop_data_builder.h"
#include "content/renderer/render_thread_impl.h"
#include "content/renderer/sad_plugin.h"
+#include "third_party/WebKit/public/platform/WebCoalescedInputEvent.h"
#include "third_party/WebKit/public/platform/WebGestureEvent.h"
#include "third_party/WebKit/public/platform/WebInputEvent.h"
#include "third_party/WebKit/public/platform/WebMouseWheelEvent.h"
@@ -440,8 +441,9 @@ void BrowserPlugin::UpdateVisibility(bool visible) {
}
blink::WebInputEventResult BrowserPlugin::HandleInputEvent(
- const blink::WebInputEvent& event,
+ const blink::WebCoalescedInputEvent& coalesced_event,
blink::WebCursorInfo& cursor_info) {
+ const blink::WebInputEvent& event = coalesced_event.Event();
if (guest_crashed_ || !attached())
return blink::WebInputEventResult::kNotHandled;
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin.h ('k') | content/renderer/pepper/pepper_plugin_instance_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698