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

Unified Diff: ui/events/blink/scoped_web_input_event.cc

Issue 2240983003: Move |ScopedWebInputEvent| and |WebInputEventTraits| from |content::| to "ui/events/blink" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move |ScopedWebInputEvent| and |WebInputEventTraits| from |content::| to |ui::| Created 4 years, 4 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/scoped_web_input_event.cc
diff --git a/content/common/input/scoped_web_input_event.cc b/ui/events/blink/scoped_web_input_event.cc
similarity index 55%
rename from content/common/input/scoped_web_input_event.cc
rename to ui/events/blink/scoped_web_input_event.cc
index 8cd6e8a386236c78bc6ec682d3815504441081c7..037b2968fd2656cbe2f25872baba97096fe1c628 100644
--- a/content/common/input/scoped_web_input_event.cc
+++ b/ui/events/blink/scoped_web_input_event.cc
@@ -2,20 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/common/input/scoped_web_input_event.h"
+#include "ui/events/blink/scoped_web_input_event.h"
-#include "base/logging.h"
-#include "content/common/input/web_input_event_traits.h"
#include "third_party/WebKit/public/web/WebInputEvent.h"
+#include "ui/events/blink/web_input_event_traits.h"
-using blink::WebGestureEvent;
using blink::WebInputEvent;
-using blink::WebKeyboardEvent;
-using blink::WebMouseEvent;
-using blink::WebMouseWheelEvent;
-using blink::WebTouchEvent;
-namespace content {
+namespace ui {
WebInputEventDeleter::WebInputEventDeleter() {}
@@ -23,4 +17,4 @@ void WebInputEventDeleter::operator()(WebInputEvent* web_event) const {
WebInputEventTraits::Delete(web_event);
}
-} // namespace content
+} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698