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

Side by Side Diff: ui/compositor/screen_rotation.h

Issue 10365007: ui: Move compositor/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix DEPS Created 8 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « ui/compositor/scoped_layer_animation_settings.cc ('k') | ui/compositor/screen_rotation.cc » ('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 UI_GFX_COMPOSITOR_SCREEN_ROTATION_H_ 5 #ifndef UI_COMPOSITOR_SCREEN_ROTATION_H_
6 #define UI_GFX_COMPOSITOR_SCREEN_ROTATION_H_ 6 #define UI_COMPOSITOR_SCREEN_ROTATION_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "ui/base/animation/animation_delegate.h" 11 #include "ui/base/animation/animation_delegate.h"
12 #include "ui/gfx/compositor/compositor_export.h" 12 #include "ui/compositor/compositor_export.h"
13 #include "ui/gfx/compositor/layer_animation_element.h" 13 #include "ui/compositor/layer_animation_element.h"
14 #include "ui/gfx/point.h" 14 #include "ui/gfx/point.h"
15 15
16 namespace ui { 16 namespace ui {
17 class InterpolatedTransform; 17 class InterpolatedTransform;
18 class LayerAnimationDelegate; 18 class LayerAnimationDelegate;
19 19
20 // A screen rotation represents a single transition from one screen orientation 20 // A screen rotation represents a single transition from one screen orientation
21 // to another. The intended usage is that a new instance of the class is 21 // to another. The intended usage is that a new instance of the class is
22 // created for every transition. It is possible to update the target orientation 22 // created for every transition. It is possible to update the target orientation
23 // in the middle of a transition. 23 // in the middle of a transition.
(...skipping 22 matching lines...) Expand all
46 int degrees_; 46 int degrees_;
47 47
48 // The target origin 48 // The target origin
49 gfx::Point new_origin_; 49 gfx::Point new_origin_;
50 50
51 DISALLOW_COPY_AND_ASSIGN(ScreenRotation); 51 DISALLOW_COPY_AND_ASSIGN(ScreenRotation);
52 }; 52 };
53 53
54 } // namespace ui 54 } // namespace ui
55 55
56 #endif // UI_GFX_COMPOSITOR_SCREEN_ROTATION_H_ 56 #endif // UI_COMPOSITOR_SCREEN_ROTATION_H_
OLDNEW
« no previous file with comments | « ui/compositor/scoped_layer_animation_settings.cc ('k') | ui/compositor/screen_rotation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698