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

Unified Diff: ui/display/manager/chromeos/default_touch_transform_setter.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
« no previous file with comments | « ui/display/manager/chromeos/DEPS ('k') | ui/display/manager/chromeos/default_touch_transform_setter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/manager/chromeos/default_touch_transform_setter.h
diff --git a/ui/display/manager/chromeos/default_touch_transform_setter.h b/ui/display/manager/chromeos/default_touch_transform_setter.h
new file mode 100644
index 0000000000000000000000000000000000000000..aa451f750ae5625d08b91b49bee09f388591e4f1
--- /dev/null
+++ b/ui/display/manager/chromeos/default_touch_transform_setter.h
@@ -0,0 +1,30 @@
+// 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_DEFAULT_TOUCH_TRANSFORM_SETTER_H_
+#define UI_DISPLAY_MANAGER_CHROMEOS_DEFAULT_TOUCH_TRANSFORM_SETTER_H_
+
+#include "base/macros.h"
+#include "ui/display/manager/chromeos/touch_transform_setter.h"
+
+namespace display {
+
+class DISPLAY_MANAGER_EXPORT DefaultTouchTransformSetter
+ : public TouchTransformSetter {
+ public:
+ DefaultTouchTransformSetter();
+ ~DefaultTouchTransformSetter() override;
+
+ // TouchTransformSetter:
+ void ConfigureTouchDevices(
+ const std::map<int32_t, double>& scales,
+ const std::vector<TouchDeviceTransform>& transforms) override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(DefaultTouchTransformSetter);
+};
+
+} // namespace display
+
+#endif // UI_DISPLAY_MANAGER_CHROMEOS_DEFAULT_TOUCH_TRANSFORM_SETTER_H_
« no previous file with comments | « ui/display/manager/chromeos/DEPS ('k') | ui/display/manager/chromeos/default_touch_transform_setter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698