OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ASH_TOUCH_TOUCH_TRANSFORMER_CONTROLLER_H_ | 5 #ifndef ASH_TOUCH_TOUCH_TRANSFORMER_CONTROLLER_H_ |
6 #define ASH_TOUCH_TOUCH_TRANSFORMER_CONTROLLER_H_ | 6 #define ASH_TOUCH_TOUCH_TRANSFORMER_CONTROLLER_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
9 #include "ash/display/window_tree_host_manager.h" | 11 #include "ash/display/window_tree_host_manager.h" |
10 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 13 #include "base/macros.h" |
11 #include "ui/gfx/transform.h" | 14 #include "ui/gfx/transform.h" |
12 | 15 |
13 namespace ui { | 16 namespace ui { |
14 struct TouchscreenDevice; | 17 struct TouchscreenDevice; |
15 } // namespace ui | 18 } // namespace ui |
16 | 19 |
17 namespace ash { | 20 namespace ash { |
18 | 21 |
19 // TouchTransformerController listens to display configuration change | 22 // TouchTransformerController listens to display configuration change |
20 // and updates the touch transformation for touch displays. | 23 // and updates the touch transformation for touch displays. |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 void UpdateTouchTransform(int64_t target_display_id, | 79 void UpdateTouchTransform(int64_t target_display_id, |
77 const DisplayInfo& touch_display, | 80 const DisplayInfo& touch_display, |
78 const DisplayInfo& target_display) const; | 81 const DisplayInfo& target_display) const; |
79 | 82 |
80 DISALLOW_COPY_AND_ASSIGN(TouchTransformerController); | 83 DISALLOW_COPY_AND_ASSIGN(TouchTransformerController); |
81 }; | 84 }; |
82 | 85 |
83 } // namespace ash | 86 } // namespace ash |
84 | 87 |
85 #endif // ASH_TOUCH_TOUCH_TRANSFORMER_CONTROLLER_H_ | 88 #endif // ASH_TOUCH_TOUCH_TRANSFORMER_CONTROLLER_H_ |
OLD | NEW |