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

Side by Side Diff: ash/rotator/window_rotation.h

Issue 2526333002: ash: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase Created 4 years 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
« no previous file with comments | « ash/root_window_controller.h ('k') | ash/screen_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_WINDOW_ROTATION_H_ 5 #ifndef ASH_WINDOW_ROTATION_H_
6 #define ASH_WINDOW_ROTATION_H_ 6 #define ASH_WINDOW_ROTATION_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "ui/compositor/layer_animation_element.h" 12 #include "ui/compositor/layer_animation_element.h"
13 #include "ui/gfx/geometry/point.h" 13 #include "ui/gfx/geometry/point.h"
14 14
15 namespace ui { 15 namespace ui {
16 class InterpolatedTransform; 16 class InterpolatedTransform;
17 class Layer; 17 class Layer;
18 } 18 }
19 19
20 namespace aura {
21 class RootWindow;
22 }
23
24 namespace ash { 20 namespace ash {
25 21
26 // A window rotation represents a single transition from one window orientation 22 // A window rotation represents a single transition from one window orientation
27 // to another. The intended usage is that a new instance of the class is 23 // to another. The intended usage is that a new instance of the class is
28 // created for every transition. It is possible to update the target orientation 24 // created for every transition. It is possible to update the target orientation
29 // in the middle of a transition. 25 // in the middle of a transition.
30 class ASH_EXPORT WindowRotation : public ui::LayerAnimationElement { 26 class ASH_EXPORT WindowRotation : public ui::LayerAnimationElement {
31 public: 27 public:
32 // |degrees| are clockwise. |layer| is the target of the animation. Does not 28 // |degrees| are clockwise. |layer| is the target of the animation. Does not
33 // take ownership of |layer|. 29 // take ownership of |layer|.
(...skipping 18 matching lines...) Expand all
52 48
53 // The target origin. 49 // The target origin.
54 gfx::Point new_origin_; 50 gfx::Point new_origin_;
55 51
56 DISALLOW_COPY_AND_ASSIGN(WindowRotation); 52 DISALLOW_COPY_AND_ASSIGN(WindowRotation);
57 }; 53 };
58 54
59 } // namespace ash 55 } // namespace ash
60 56
61 #endif // ASH_WINDOW_ROTATION_H_ 57 #endif // ASH_WINDOW_ROTATION_H_
OLDNEW
« no previous file with comments | « ash/root_window_controller.h ('k') | ash/screen_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698