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

Unified Diff: content/renderer/pepper/pepper_webplugin_impl.cc

Issue 2844823002: Support Coalesced Touch in ppapi (Closed)
Patch Set: Support Coalesced Touch in ppapi Created 3 years, 8 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/pepper/pepper_webplugin_impl.cc
diff --git a/content/renderer/pepper/pepper_webplugin_impl.cc b/content/renderer/pepper/pepper_webplugin_impl.cc
index 4b62d314f50ba1ea441130644a9047f155dc8b4f..1bda5021c97e1e11143d3afb4b55c8ebe0cf0b57 100644
--- a/content/renderer/pepper/pepper_webplugin_impl.cc
+++ b/content/renderer/pepper/pepper_webplugin_impl.cc
@@ -21,6 +21,7 @@
#include "content/renderer/render_frame_impl.h"
#include "ppapi/shared_impl/ppapi_globals.h"
#include "ppapi/shared_impl/var_tracker.h"
+#include "third_party/WebKit/public/platform/WebCoalescedInputEvent.h"
#include "third_party/WebKit/public/platform/WebPoint.h"
#include "third_party/WebKit/public/platform/WebRect.h"
#include "third_party/WebKit/public/platform/WebSize.h"
@@ -206,11 +207,11 @@ void PepperWebPluginImpl::UpdateFocus(bool focused,
void PepperWebPluginImpl::UpdateVisibility(bool visible) {}
blink::WebInputEventResult PepperWebPluginImpl::HandleInputEvent(
- const blink::WebInputEvent& event,
+ const blink::WebCoalescedInputEvent& coalesced_event,
blink::WebCursorInfo& cursor_info) {
if (instance_->FlashIsFullscreenOrPending())
return blink::WebInputEventResult::kNotHandled;
- return instance_->HandleInputEvent(event, &cursor_info)
+ return instance_->HandleCoalescedInputEvent(coalesced_event, &cursor_info)
? blink::WebInputEventResult::kHandledApplication
: blink::WebInputEventResult::kNotHandled;
}

Powered by Google App Engine
This is Rietveld 408576698