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

Unified Diff: content/renderer/input/scoped_web_input_event_with_latency_info.cc

Issue 2683043004: Remove ui/events/blink dependency on blink_minimal. (Closed)
Patch Set: fix win debug Created 3 years, 10 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/input/scoped_web_input_event_with_latency_info.cc
diff --git a/content/common/input/event_with_latency_info.cc b/content/renderer/input/scoped_web_input_event_with_latency_info.cc
similarity index 87%
rename from content/common/input/event_with_latency_info.cc
rename to content/renderer/input/scoped_web_input_event_with_latency_info.cc
index d4ea6731bc9e04f671cf0dc6b32c1762ac0d4f5b..88bb0bc126da06ec9099e2ff0783bac5d920cc83 100644
--- a/content/common/input/event_with_latency_info.cc
+++ b/content/renderer/input/scoped_web_input_event_with_latency_info.cc
@@ -1,17 +1,17 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
+// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/common/input/event_with_latency_info.h"
+#include "content/renderer/input/scoped_web_input_event_with_latency_info.h"
using blink::WebInputEvent;
namespace content {
ScopedWebInputEventWithLatencyInfo::ScopedWebInputEventWithLatencyInfo(
- blink::WebScopedInputEvent event,
+ ui::WebScopedInputEvent event,
const ui::LatencyInfo& latency_info)
- : event_(new blink::WebCoalescedInputEvent(std::move(event))),
+ : event_(new blink::WebCoalescedInputEvent(*(event.get()))),
dcheng 2017/02/10 10:17:25 Nit: I think *event should suffice here.
jam 2017/02/10 15:48:58 Done.
latency_(latency_info) {}
ScopedWebInputEventWithLatencyInfo::~ScopedWebInputEventWithLatencyInfo() {}

Powered by Google App Engine
This is Rietveld 408576698