| 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 "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/display/window_tree_host_manager.h" | 9 #include "ash/display/window_tree_host_manager.h" |
| 10 #include "base/gtest_prod_util.h" |
| 10 #include "ui/gfx/transform.h" | 11 #include "ui/gfx/transform.h" |
| 11 | 12 |
| 12 namespace ui { | 13 namespace ui { |
| 13 struct TouchscreenDevice; | 14 struct TouchscreenDevice; |
| 14 } // namespace ui | 15 } // namespace ui |
| 15 | 16 |
| 16 namespace ash { | 17 namespace ash { |
| 17 | 18 |
| 18 // TouchTransformerController listens to display configuration change | 19 // TouchTransformerController listens to display configuration change |
| 19 // and updates the touch transformation for touch displays. | 20 // and updates the touch transformation for touch displays. |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 void UpdateTouchTransform(int64_t target_display_id, | 76 void UpdateTouchTransform(int64_t target_display_id, |
| 76 const DisplayInfo& touch_display, | 77 const DisplayInfo& touch_display, |
| 77 const DisplayInfo& target_display) const; | 78 const DisplayInfo& target_display) const; |
| 78 | 79 |
| 79 DISALLOW_COPY_AND_ASSIGN(TouchTransformerController); | 80 DISALLOW_COPY_AND_ASSIGN(TouchTransformerController); |
| 80 }; | 81 }; |
| 81 | 82 |
| 82 } // namespace ash | 83 } // namespace ash |
| 83 | 84 |
| 84 #endif // ASH_TOUCH_TOUCH_TRANSFORMER_CONTROLLER_H_ | 85 #endif // ASH_TOUCH_TOUCH_TRANSFORMER_CONTROLLER_H_ |
| OLD | NEW |