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

Unified Diff: ui/events/blink/web_input_event_traits.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: Rebase and ncarter's review 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
« no previous file with comments | « ui/events/blink/web_input_event_traits.h ('k') | ui/events/blink/web_input_event_traits_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/blink/web_input_event_traits.cc
diff --git a/content/common/input/web_input_event_traits.cc b/ui/events/blink/web_input_event_traits.cc
similarity index 98%
rename from content/common/input/web_input_event_traits.cc
rename to ui/events/blink/web_input_event_traits.cc
index d88d85c3c8eacd3cf8b31d6709d5c3401050232a..b850f5e66f01728f4e8b4b336dbcf494da9cc34b 100644
--- a/content/common/input/web_input_event_traits.cc
+++ b/ui/events/blink/web_input_event_traits.cc
@@ -1,8 +1,8 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
+// Copyright 2016 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/web_input_event_traits.h"
+#include "ui/events/blink/web_input_event_traits.h"
#include "base/logging.h"
#include "base/strings/stringprintf.h"
@@ -17,7 +17,7 @@ using blink::WebMouseWheelEvent;
using blink::WebTouchEvent;
using blink::WebTouchPoint;
-namespace content {
+namespace ui {
namespace {
void ApppendEventDetails(const WebKeyboardEvent& event, std::string* result) {
@@ -301,4 +301,4 @@ uint32_t WebInputEventTraits::GetUniqueTouchEventId(
return 0U;
}
-} // namespace content
+} // namespace ui
« no previous file with comments | « ui/events/blink/web_input_event_traits.h ('k') | ui/events/blink/web_input_event_traits_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698