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

Side by Side Diff: ash/utility/transformer_util.h

Issue 2790583004: Add second copy request after screen rotation to flatten the layers in animation. (Closed)
Patch Set: Add one more state for rotating and fix corner case. Created 3 years, 8 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_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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698