OLD | NEW |
(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_TRANSFORMER_UTIL_H_ |
| 6 #define ASH_TRANSFORMER_UTIL_H_ |
| 7 |
| 8 #include "ash/ash_export.h" |
| 9 #include "ui/display/display.h" |
| 10 |
| 11 namespace gfx { |
| 12 class Transform; |
| 13 } |
| 14 |
| 15 namespace ash { |
| 16 |
| 17 // Creates rotation transform from |old_rotation| to |new_rotation| based on the |
| 18 // |display| info. |
| 19 ASH_EXPORT gfx::Transform CreateRotationTransform( |
| 20 display::Display::Rotation old_rotation, |
| 21 display::Display::Rotation new_rotation, |
| 22 const display::Display& display); |
| 23 |
| 24 } // namespace ash |
| 25 |
| 26 #endif // ASH_TRANSFORMER_UTIL_H_ |
OLD | NEW |