OLD | NEW |
| (Empty) |
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 #pragma once | |
8 | |
9 #include "base/basictypes.h" | |
10 | |
11 class Extension; | |
12 | |
13 namespace gfx { | |
14 class Rect; | |
15 } | |
16 | |
17 class AppLaunchedAnimation { | |
18 public: | |
19 // Starts an animation of the |extension| being launched. The |rect| is the | |
20 // rect of the app icon. | |
21 static void Show(const Extension* extension, const gfx::Rect& rect); | |
22 | |
23 private: | |
24 AppLaunchedAnimation() { } | |
25 | |
26 DISALLOW_COPY_AND_ASSIGN(AppLaunchedAnimation); | |
27 }; | |
28 | |
29 #endif // CHROME_BROWSER_APP_LAUNCHED_ANIMATION_H_ | |
OLD | NEW |