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

Unified Diff: ui/base/animation/throb_animation.h

Issue 6154001: Move animation code to new ui/base/animation directory.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/animation/test_animation_delegate.h ('k') | ui/base/animation/throb_animation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/animation/throb_animation.h
===================================================================
--- ui/base/animation/throb_animation.h (revision 0)
+++ ui/base/animation/throb_animation.h (working copy)
@@ -1,13 +1,15 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef APP_THROB_ANIMATION_H_
-#define APP_THROB_ANIMATION_H_
+#ifndef UI_BASE_ANIMATION_THROB_ANIMATION_H_
+#define UI_BASE_ANIMATION_THROB_ANIMATION_H_
#pragma once
-#include "app/slide_animation.h"
+#include "ui/base/animation/slide_animation.h"
+namespace ui {
+
// A subclass of SlideAnimation that can continually slide. All of the Animation
// methods behave like that of SlideAnimation: transition to the next state.
// The StartThrobbing method causes the ThrobAnimation to cycle between hidden
@@ -62,4 +64,6 @@
DISALLOW_COPY_AND_ASSIGN(ThrobAnimation);
};
-#endif // APP_THROB_ANIMATION_H_
+} // namespace ui
+
+#endif // UI_BASE_ANIMATION_THROB_ANIMATION_H_
« no previous file with comments | « ui/base/animation/test_animation_delegate.h ('k') | ui/base/animation/throb_animation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698