Chromium Code Reviews| Index: ash/launcher/app_placeholder_view.h |
| diff --git a/ash/launcher/app_placeholder_view.h b/ash/launcher/app_placeholder_view.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..51aec159c84ffbe4cfbc8748d33ddef23a4fdefe |
| --- /dev/null |
| +++ b/ash/launcher/app_placeholder_view.h |
| @@ -0,0 +1,33 @@ |
| +// Copyright (c) 2012 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 ASH_LAUNCHER_APP_PLACEHOLDER_VIEW_H_ |
| +#define ASH_LAUNCHER_APP_PLACEHOLDER_VIEW_H_ |
| + |
| +#include "base/timer.h" |
| +#include "ui/views/view.h" |
| + |
| +namespace ash { |
| +namespace internal { |
| + |
| +class AppPlaceholderView : public views::View { |
|
sky
2012/08/14 20:02:34
Add a description.
xiyuan
2012/08/15 18:23:27
Done.
|
| + public: |
| + AppPlaceholderView(); |
| + virtual ~AppPlaceholderView(); |
| + |
| + private: |
| + void ScheduleAnimation(); |
| + |
| + // views::View overrides: |
| + virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
| + |
| + base::OneShotTimer<AppPlaceholderView> animation_delay_timer_; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(AppPlaceholderView); |
| +}; |
| + |
| +} // namespace internal |
| +} // namesapce ash |
| + |
| +#endif // ASH_LAUNCHER_APP_PLACEHOLDER_VIEW_H_ |