summaryrefslogtreecommitdiffstats
path: root/chrome/browser/app_launched_animation.h
blob: b31a25d5693c5c8ca3f64d2ddba8b99b6616c957 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright (c) 2010 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 CHROME_BROWSER_APP_LAUNCHED_ANIMATION_H_
#define CHROME_BROWSER_APP_LAUNCHED_ANIMATION_H_

#include "base/basictypes.h"

class Extension;

namespace gfx {
  class Rect;
}

class AppLaunchedAnimation {
 public:
  // Starts an animation of the |extension| being launched. The |rect| is the
  // rect of the app icon.
  static void Show(Extension* extension, const gfx::Rect& rect);

 private:
  AppLaunchedAnimation() { }

  DISALLOW_COPY_AND_ASSIGN(AppLaunchedAnimation);
};

#endif  // CHROME_BROWSER_APP_LAUNCHED_ANIMATION_H_