Index: ui/events/blink/web_input_event_traits.h |
diff --git a/content/common/input/web_input_event_traits.h b/ui/events/blink/web_input_event_traits.h |
similarity index 66% |
rename from content/common/input/web_input_event_traits.h |
rename to ui/events/blink/web_input_event_traits.h |
index df83ca6f44ab30cd43a5abfb431359f191436396..444f17ee3f16870da55211647cd40901a0448b1f 100644 |
--- a/content/common/input/web_input_event_traits.h |
+++ b/ui/events/blink/web_input_event_traits.h |
@@ -1,22 +1,17 @@ |
-// 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. |
-#ifndef CONTENT_COMMON_INPUT_WEB_INPUT_EVENT_TRAITS_H_ |
-#define CONTENT_COMMON_INPUT_WEB_INPUT_EVENT_TRAITS_H_ |
+#ifndef UI_EVENTS_BLINK_WEB_INPUT_EVENT_TRAITS_H_ |
+#define UI_EVENTS_BLINK_WEB_INPUT_EVENT_TRAITS_H_ |
-#include <stddef.h> |
-#include <stdint.h> |
- |
-#include <string> |
- |
-#include "content/common/input/scoped_web_input_event.h" |
#include "third_party/WebKit/public/web/WebInputEvent.h" |
+#include "ui/events/blink/scoped_web_input_event.h" |
-namespace content { |
+namespace ui { |
// Utility class for performing operations on and with WebInputEvents. |
-class CONTENT_EXPORT WebInputEventTraits { |
+class WebInputEventTraits { |
public: |
static const char* GetName(blink::WebInputEvent::Type type); |
static std::string ToString(const blink::WebInputEvent& event); |
@@ -31,6 +26,6 @@ class CONTENT_EXPORT WebInputEventTraits { |
static uint32_t GetUniqueTouchEventId(const blink::WebInputEvent& event); |
}; |
-} // namespace content |
+} // namespace ui |
-#endif // CONTENT_COMMON_INPUT_WEB_INPUT_EVENT_TRAITS_H_ |
+#endif // UI_EVENTS_BLINK_WEB_INPUT_EVENT_TRAITS_H_ |