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 71% |
rename from content/common/input/web_input_event_traits.h |
rename to ui/events/blink/web_input_event_traits.h |
index df83ca6f44ab30cd43a5abfb431359f191436396..48a7d6ff755e5fc9ddf2ca45c4ad8b5efe44936c 100644 |
--- a/content/common/input/web_input_event_traits.h |
+++ b/ui/events/blink/web_input_event_traits.h |
@@ -2,21 +2,16 @@ |
// 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_ |