OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_DISPLAY_MANAGER_CHROMEOS_DEFAULT_TOUCH_TRANSFORM_SETTER_H_ |
| 6 #define UI_DISPLAY_MANAGER_CHROMEOS_DEFAULT_TOUCH_TRANSFORM_SETTER_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "ui/display/manager/chromeos/touch_transform_setter.h" |
| 10 |
| 11 namespace display { |
| 12 |
| 13 class DISPLAY_MANAGER_EXPORT DefaultTouchTransformSetter |
| 14 : public TouchTransformSetter { |
| 15 public: |
| 16 DefaultTouchTransformSetter(); |
| 17 ~DefaultTouchTransformSetter() override; |
| 18 |
| 19 // TouchTransformSetter: |
| 20 void ConfigureTouchDevices( |
| 21 const std::map<int32_t, double>& scales, |
| 22 const std::vector<TouchDeviceTransform>& transforms) override; |
| 23 |
| 24 private: |
| 25 DISALLOW_COPY_AND_ASSIGN(DefaultTouchTransformSetter); |
| 26 }; |
| 27 |
| 28 } // namespace display |
| 29 |
| 30 #endif // UI_DISPLAY_MANAGER_CHROMEOS_DEFAULT_TOUCH_TRANSFORM_SETTER_H_ |
OLD | NEW |