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

Unified Diff: ui/events/touchscreen_device.h

Issue 336863002: Moving input device hotplug event processing outside of ui/display (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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/touchscreen_device.h
diff --git a/ui/display/types/chromeos/touchscreen_device.h b/ui/events/touchscreen_device.h
similarity index 61%
rename from ui/display/types/chromeos/touchscreen_device.h
rename to ui/events/touchscreen_device.h
index ecc64527183886300a2f99c7e93a9e5b929da6fb..1cec2817ce01ee6f4d3e08e03f940552b930ef92 100644
--- a/ui/display/types/chromeos/touchscreen_device.h
+++ b/ui/events/touchscreen_device.h
@@ -2,17 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_DISPLAY_TYPES_CHROMEOS_TOUCHSCREEN_DEVICE_H_
-#define UI_DISPLAY_TYPES_CHROMEOS_TOUCHSCREEN_DEVICE_H_
+#ifndef UI_EVENTS_TOUCHSCREEN_DEVICE_H_
+#define UI_EVENTS_TOUCHSCREEN_DEVICE_H_
-#include "ui/display/types/display_types_export.h"
+#include "ui/events/events_export.h"
#include "ui/gfx/geometry/size.h"
namespace ui {
// Represents a Touchscreen device state.
-struct DISPLAY_TYPES_EXPORT TouchscreenDevice {
- static const int kInvalidId;
+struct EVENTS_EXPORT TouchscreenDevice {
+ static const int kInvalidId = 0;
TouchscreenDevice(int id, const gfx::Size& size);
@@ -25,4 +25,4 @@ struct DISPLAY_TYPES_EXPORT TouchscreenDevice {
} // namespace ui
-#endif // UI_DISPLAY_TYPES_CHROMEOS_TOUCHSCREEN_DEVICE_H_
+#endif // UI_EVENTS_TOUCHSCREEN_DEVICE_H_

Powered by Google App Engine
This is Rietveld 408576698