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

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

Issue 2576013002: Introducing WebCoalescedInputEvent and inclusion in content/common (Closed)
Patch Set: Fix a few DCHECK hits Created 3 years, 11 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: 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 fdcef0a6b6bc9d210423883e6c10446ac04c8388..717cf91529f4b5c872838646ee9a0b5ac61b71b8 100644
--- a/ui/events/blink/web_input_event_traits.h
+++ b/ui/events/blink/web_input_event_traits.h
@@ -5,8 +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/WebCoalescedInputEvent.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 blink {
@@ -21,7 +21,7 @@ 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::WebScopedInputEvent 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