[email protected] | 214594ae | 2010-05-18 13:29:15 | [diff] [blame] | 1 | // Copyright (c) 2010 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 CHROME_BROWSER_APP_LAUNCHED_ANIMATION_H_ |
| 6 | #define CHROME_BROWSER_APP_LAUNCHED_ANIMATION_H_ |
| 7 | |
| 8 | #include "base/basictypes.h" |
| 9 | |
| 10 | class Extension; |
| 11 | |
| 12 | namespace gfx { |
| 13 | class Rect; |
| 14 | } |
| 15 | |
| 16 | class AppLaunchedAnimation { |
| 17 | public: |
| 18 | // Starts an animation of the |extension| being launched. The |rect| is the |
| 19 | // rect of the app icon. |
| 20 | static void Show(Extension* extension, const gfx::Rect& rect); |
| 21 | |
| 22 | private: |
| 23 | AppLaunchedAnimation() { } |
| 24 | |
| 25 | DISALLOW_COPY_AND_ASSIGN(AppLaunchedAnimation); |
| 26 | }; |
| 27 | |
| 28 | #endif // CHROME_BROWSER_APP_LAUNCHED_ANIMATION_H_ |