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

Side by Side Diff: ui/display/manager/chromeos/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 unified diff | Download patch
« no previous file with comments | « ui/display/manager/chromeos/touch_transform_controller_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_TOUCH_TRANSFORM_SETTER_H_
6 #define UI_DISPLAY_MANAGER_CHROMEOS_TOUCH_TRANSFORM_SETTER_H_
7
8 #include <map>
9 #include <vector>
10
11 #include "base/macros.h"
12 #include "ui/display/manager/display_manager_export.h"
13
14 namespace display {
15
16 struct TouchDeviceTransform;
17
18 // TouchTransformSetter is used by TouchTransformController to apply the actual
19 // settings.
20 class DISPLAY_MANAGER_EXPORT TouchTransformSetter {
21 public:
22 virtual ~TouchTransformSetter() {}
23
24 // |scales| maps from the touch device id to the touch radius scale and
25 // |transforms| contains the transform for each device and display pair.
26 virtual void ConfigureTouchDevices(
27 const std::map<int32_t, double>& scales,
28 const std::vector<TouchDeviceTransform>& transforms) = 0;
29 };
30
31 } // namespace display
32
33 #endif // UI_DISPLAY_MANAGER_CHROMEOS_TOUCH_TRANSFORM_SETTER_H_
OLDNEW
« no previous file with comments | « ui/display/manager/chromeos/touch_transform_controller_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698