summaryrefslogtreecommitdiffstats
path: root/chrome/browser/app_launched_animation.h
blob: 278b22855dc36ed59de2a82279f69bf512a3f45e (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
29
// 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_
#pragma once

#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_