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

Unified Diff: ui/events/android/motion_event_android.h

Issue 1417173008: Move MotionEventAndroid to ui/events/android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Copyright date fix. Created 5 years, 1 month 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/android/events_jni_registrar.cc ('k') | ui/events/android/motion_event_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/android/motion_event_android.h
diff --git a/content/browser/renderer_host/input/motion_event_android.h b/ui/events/android/motion_event_android.h
similarity index 93%
rename from content/browser/renderer_host/input/motion_event_android.h
rename to ui/events/android/motion_event_android.h
index d581ce04ee8c830c669ef321293cfae349356279..db79a1412ed12f94074974b3c3efbe2696b9f371 100644
--- a/content/browser/renderer_host/input/motion_event_android.h
+++ b/ui/events/android/motion_event_android.h
@@ -3,24 +3,25 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_MOTION_EVENT_ANDROID_H_
-#define CONTENT_BROWSER_RENDERER_HOST_INPUT_MOTION_EVENT_ANDROID_H_
+#ifndef UI_EVENTS_ANDROID_MOTION_EVENT_ANDROID_H_
+#define UI_EVENTS_ANDROID_MOTION_EVENT_ANDROID_H_
#include <jni.h>
#include "base/android/scoped_java_ref.h"
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
-#include "content/common/content_export.h"
+#include "ui/events/events_export.h"
#include "ui/events/gesture_detection/motion_event.h"
#include "ui/gfx/geometry/point_f.h"
-namespace content {
+namespace ui {
// Implementation of ui::MotionEvent wrapping a native Android MotionEvent.
// All *input* coordinates are in device pixels (as with Android MotionEvent),
// while all *output* coordinates are in DIPs (as with WebTouchEvent).
-class CONTENT_EXPORT MotionEventAndroid : public ui::MotionEvent {
+class EVENTS_EXPORT MotionEventAndroid : public MotionEvent {
public:
struct Pointer {
Pointer(jint id,
@@ -135,4 +136,4 @@ class CONTENT_EXPORT MotionEventAndroid : public ui::MotionEvent {
} // namespace content
-#endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_MOTION_EVENT_ANDROID_H_
+#endif // UI_EVENTS_ANDROID_MOTION_EVENT_ANDROID_H_
« no previous file with comments | « ui/events/android/events_jni_registrar.cc ('k') | ui/events/android/motion_event_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698