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

Side by Side Diff: ash/touch/ash_touch_transform_controller.h

Issue 2617043003: Move TouchTransformerController to ui/display/. (Closed)
Patch Set: Add comments. Created 3 years, 11 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 ASH_TOUCH_ASH_TOUCH_TRANSFORM_CONTROLLER_H_
6 #define ASH_TOUCH_ASH_TOUCH_TRANSFORM_CONTROLLER_H_
7
8 #include "ash/ash_export.h"
9 #include "ash/display/window_tree_host_manager.h"
10 #include "base/macros.h"
11 #include "ui/display/manager/chromeos/touch_transform_controller.h"
12
13 namespace display {
14 class DisplayConfigurator;
15 class DisplayManager;
16 }
17
18 namespace ash {
19
20 // AshTouchTransformController listens for display configuration changes and
21 // updates the touch transforms when one occurs.
22 class ASH_EXPORT AshTouchTransformController
23 : public display::TouchTransformController,
24 public WindowTreeHostManager::Observer {
25 public:
26 AshTouchTransformController(
27 display::DisplayConfigurator* display_configurator,
28 display::DisplayManager* display_manager);
29 ~AshTouchTransformController() override;
30
31 // WindowTreeHostManager::Observer:
32 void OnDisplaysInitialized() override;
33 void OnDisplayConfigurationChanged() override;
34
35 private:
36 DISALLOW_COPY_AND_ASSIGN(AshTouchTransformController);
37 };
38
39 } // namespace ash
40
41 #endif // ASH_TOUCH_ASH_TOUCH_TRANSFORM_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698