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

Side by Side Diff: ui/base/animation/tween.h

Issue 7328011: Introduce ui.dll / libui.so for the component build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_BASE_ANIMATION_TWEEN_H_ 5 #ifndef UI_BASE_ANIMATION_TWEEN_H_
6 #define UI_BASE_ANIMATION_TWEEN_H_ 6 #define UI_BASE_ANIMATION_TWEEN_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "ui/ui_api.h"
10 11
11 namespace gfx { 12 namespace gfx {
12 class Rect; 13 class Rect;
13 } 14 }
14 15
15 namespace ui { 16 namespace ui {
16 17
17 class Tween { 18 class UI_API Tween {
18 public: 19 public:
19 enum Type { 20 enum Type {
20 LINEAR, // Linear. 21 LINEAR, // Linear.
21 EASE_OUT, // Fast in, slow out (default). 22 EASE_OUT, // Fast in, slow out (default).
22 EASE_IN, // Slow in, fast out. 23 EASE_IN, // Slow in, fast out.
23 EASE_IN_OUT, // Slow in and out, fast in the middle. 24 EASE_IN_OUT, // Slow in and out, fast in the middle.
24 FAST_IN_OUT, // Fast in and out, slow in the middle. 25 FAST_IN_OUT, // Fast in and out, slow in the middle.
25 EASE_OUT_SNAP, // Fast in, slow out, snap to final value. 26 EASE_OUT_SNAP, // Fast in, slow out, snap to final value.
26 ZERO, // Returns a value of 0 always. 27 ZERO, // Returns a value of 0 always.
27 }; 28 };
(...skipping 11 matching lines...) Expand all
39 private: 40 private:
40 Tween(); 41 Tween();
41 ~Tween(); 42 ~Tween();
42 43
43 DISALLOW_COPY_AND_ASSIGN(Tween); 44 DISALLOW_COPY_AND_ASSIGN(Tween);
44 }; 45 };
45 46
46 } // namespace ui 47 } // namespace ui
47 48
48 #endif // UI_BASE_ANIMATION_TWEEN_H_ 49 #endif // UI_BASE_ANIMATION_TWEEN_H_
OLDNEW
« no previous file with comments | « ui/base/animation/throb_animation.h ('k') | ui/base/clipboard/clipboard.h » ('j') | ui/ui.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698