Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2012 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 ASH_LAUNCHER_APP_PLACEHOLDER_VIEW_H_ | |
| 6 #define ASH_LAUNCHER_APP_PLACEHOLDER_VIEW_H_ | |
| 7 | |
| 8 #include "base/timer.h" | |
| 9 #include "ui/views/view.h" | |
| 10 | |
| 11 namespace ash { | |
| 12 namespace internal { | |
| 13 | |
| 14 class AppPlaceholderView : public views::View { | |
|
sky
2012/08/14 20:02:34
Add a description.
xiyuan
2012/08/15 18:23:27
Done.
| |
| 15 public: | |
| 16 AppPlaceholderView(); | |
| 17 virtual ~AppPlaceholderView(); | |
| 18 | |
| 19 private: | |
| 20 void ScheduleAnimation(); | |
| 21 | |
| 22 // views::View overrides: | |
| 23 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; | |
| 24 | |
| 25 base::OneShotTimer<AppPlaceholderView> animation_delay_timer_; | |
| 26 | |
| 27 DISALLOW_COPY_AND_ASSIGN(AppPlaceholderView); | |
| 28 }; | |
| 29 | |
| 30 } // namespace internal | |
| 31 } // namesapce ash | |
| 32 | |
| 33 #endif // ASH_LAUNCHER_APP_PLACEHOLDER_VIEW_H_ | |
| OLD | NEW |