Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2432)

Unified Diff: ash/launcher/app_placeholder_view.h

Issue 10829268: chromeos: Sync animation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: wrap up + rebase Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698