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

Side by Side Diff: components/mus/ws/touch_controller.h

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 | « components/mus/ws/test_utils.cc ('k') | components/mus/ws/touch_controller.cc » ('j') | 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 2016 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 COMPONENTS_MUS_WS_TOUCH_CONTROLLER_H_
6 #define COMPONENTS_MUS_WS_TOUCH_CONTROLLER_H_
7
8 #include "base/macros.h"
9 #include "ui/events/devices/input_device_event_observer.h"
10
11 namespace mus {
12 namespace ws {
13
14 class DisplayManager;
15
16 // Tracks changes to displays and touchscreen devices. Updates the mapping
17 // between display devices and touchscreen devices when changes occur.
18 class TouchController : public ui::InputDeviceEventObserver {
19 public:
20 explicit TouchController(DisplayManager* display_manager);
21 ~TouchController() override;
22
23 void UpdateTouchTransforms() const;
24
25 // ui::InputDeviceEventObserver:
26 void OnTouchscreenDeviceConfigurationChanged() override;
27
28 private:
29 DisplayManager* display_manager_;
30
31 DISALLOW_COPY_AND_ASSIGN(TouchController);
32 };
33
34 } // namespace ws
35 } // namespace mus
36
37 #endif // COMPONENTS_MUS_WS_TOUCH_CONTROLLER_H_
OLDNEW
« no previous file with comments | « components/mus/ws/test_utils.cc ('k') | components/mus/ws/touch_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698