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

Unified Diff: ui/events/blink/web_input_event_traits.h

Issue 2479123003: WIP Add getCoalescedEvents API using vector of WebInputEvents (Closed)
Patch Set: Creating CoalescedWebInputEvent 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: ui/events/blink/web_input_event_traits.h
diff --git a/ui/events/blink/web_input_event_traits.h b/ui/events/blink/web_input_event_traits.h
index 88ab04fdc727ba12fd2df146b1e2e683f71c5824..4219e7d9bff11e9a0e128cb5f4d23201e69f2cbf 100644
--- a/ui/events/blink/web_input_event_traits.h
+++ b/ui/events/blink/web_input_event_traits.h
@@ -5,9 +5,8 @@
#ifndef UI_EVENTS_BLINK_WEB_INPUT_EVENT_TRAITS_H_
#define UI_EVENTS_BLINK_WEB_INPUT_EVENT_TRAITS_H_
+#include "third_party/WebKit/public/platform/CoalescedWebInputEvent.h"
#include "third_party/WebKit/public/platform/WebGestureEvent.h"
-#include "third_party/WebKit/public/platform/WebInputEvent.h"
-#include "ui/events/blink/scoped_web_input_event.h"
#include "ui/events/latency_info.h"
namespace ui {
@@ -17,7 +16,8 @@ class WebInputEventTraits {
public:
static std::string ToString(const blink::WebInputEvent& event);
static size_t GetSize(blink::WebInputEvent::Type type);
- static ScopedWebInputEvent Clone(const blink::WebInputEvent& event);
+ static blink::CoalescedWebInputEvent::ScopedWebInputEvent Clone(
+ const blink::WebInputEvent& event);
static void Delete(blink::WebInputEvent* event);
static bool ShouldBlockEventStream(const blink::WebInputEvent& event);

Powered by Google App Engine
This is Rietveld 408576698