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

Unified Diff: content/common/input/event_with_latency_info.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: content/common/input/event_with_latency_info.h
diff --git a/content/common/input/event_with_latency_info.h b/content/common/input/event_with_latency_info.h
index 9df498c0d5e73b817a19d90a649bff71eb32413b..751197fcd376d11910bc8f48e9df168c68225c09 100644
--- a/content/common/input/event_with_latency_info.h
+++ b/content/common/input/event_with_latency_info.h
@@ -8,18 +8,17 @@
#include "base/compiler_specific.h"
#include "base/logging.h"
#include "content/common/content_export.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"
#include "ui/events/blink/blink_event_util.h"
-#include "ui/events/blink/scoped_web_input_event.h"
#include "ui/events/latency_info.h"
namespace content {
class ScopedWebInputEventWithLatencyInfo {
public:
- ScopedWebInputEventWithLatencyInfo(ui::ScopedWebInputEvent,
+ ScopedWebInputEventWithLatencyInfo(blink::WebScopedInputEvent,
const ui::LatencyInfo&);
~ScopedWebInputEventWithLatencyInfo();
@@ -34,7 +33,7 @@ class ScopedWebInputEventWithLatencyInfo {
void CoalesceWith(const ScopedWebInputEventWithLatencyInfo& other);
private:
- ui::ScopedWebInputEvent event_;
+ blink::WebScopedInputEvent event_;
mutable ui::LatencyInfo latency_;
};

Powered by Google App Engine
This is Rietveld 408576698