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

Side by Side 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 unified diff | Download patch
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_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_
OLDNEW
« 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