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

Unified Diff: ui/display/manager/chromeos/touch_device_transform.h

Issue 2887413004: chromeos: moves setting of touch state to a separate class (Closed)
Patch Set: feedback Created 3 years, 7 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/display/manager/chromeos/touch_device_transform.h
diff --git a/ui/display/manager/chromeos/touch_device_transform.h b/ui/display/manager/chromeos/touch_device_transform.h
new file mode 100644
index 0000000000000000000000000000000000000000..c9eee51c9b08cc05d69df03ca9f83681d4cb0805
--- /dev/null
+++ b/ui/display/manager/chromeos/touch_device_transform.h
@@ -0,0 +1,26 @@
+// Copyright 2017 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 UI_DISPLAY_MANAGER_CHROMEOS_TOUCH_DEVICE_TRANSFORM_H_
+#define UI_DISPLAY_MANAGER_CHROMEOS_TOUCH_DEVICE_TRANSFORM_H_
+
+#include <stdint.h>
+
+#include "ui/display/manager/display_manager_export.h"
+#include "ui/gfx/transform.h"
+
+namespace display {
+
+struct DISPLAY_MANAGER_EXPORT TouchDeviceTransform {
+ TouchDeviceTransform();
+ ~TouchDeviceTransform();
+
+ int64_t display_id;
+ int32_t device_id;
+ gfx::Transform transform;
+};
+
+} // namespace display
+
+#endif // UI_DISPLAY_MANAGER_CHROMEOS_TOUCH_DEVICE_TRANSFORM_H_
« no previous file with comments | « ui/display/manager/chromeos/default_touch_transform_setter.cc ('k') | ui/display/manager/chromeos/touch_device_transform.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698