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

Unified Diff: ui/aura_shell/launcher/launcher_view.h

Issue 8369007: Changes launcher animations to fade before moving. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tweaks Created 9 years, 2 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: ui/aura_shell/launcher/launcher_view.h
diff --git a/ui/aura_shell/launcher/launcher_view.h b/ui/aura_shell/launcher/launcher_view.h
index 1511a5d0279df2f453f666b2afd2b8da7190f58e..db0057fbf30a37dfabb335911ad5b37e5390ff57 100644
--- a/ui/aura_shell/launcher/launcher_view.h
+++ b/ui/aura_shell/launcher/launcher_view.h
@@ -35,6 +35,9 @@ class LauncherView : public views::WidgetDelegateView,
void Init();
private:
+ class FadeOutAnimationDelegate;
+ class StartFadeAnimationDelegate;
+
struct IdealBounds {
gfx::Rect new_browser_bounds;
gfx::Rect show_apps_bounds;
@@ -54,8 +57,8 @@ class LauncherView : public views::WidgetDelegateView,
// Creates the view used to represent |item|.
views::View* CreateViewForItem(const LauncherItem& item);
- // Resizes the widget to fit the view.
- void Resize();
+ // Fades |view| from an opacity of 0 to 1. This is when adding a new item.
+ void FadeIn(views::View* view);
// Invoked when the mouse has moved enough to trigger a drag. Sets internal
// state in preparation for the drag.

Powered by Google App Engine
This is Rietveld 408576698