diff options
author | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-18 02:22:15 +0000 |
---|---|---|
committer | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-18 02:22:15 +0000 |
commit | d42ef8acdf908a348d0aec5a4814b6257f42276c (patch) | |
tree | b7ec497d6ffe57611f9f07626060845edbf5f8be /ash/launcher/app_list_button.h | |
parent | c8d6b485995362620025e3b7ad74772beac803d7 (diff) | |
download | chromium_src-d42ef8acdf908a348d0aec5a4814b6257f42276c.zip chromium_src-d42ef8acdf908a348d0aec5a4814b6257f42276c.tar.gz chromium_src-d42ef8acdf908a348d0aec5a4814b6257f42276c.tar.bz2 |
chromeos: Sync animation.
- Pulse app list button while LauncherModel has STATUS_LOADING;
- Remove LauncherItemStatus::STATUS_IS_PENDING etc since it is no longer needed;
- ChromeLauncherController sets LauncherModel::STATUS_LOADING on starting and
watch for sync finish and pending extension install. It sets
LauncherModel::STATUS_NORMAL when sync is finished and there is no pending
extension install from sync, or when a maximum 60 seconds timeout since
turning on loading status;
BUG=129236
TEST=Verify sync animation after OOBE.
Review URL: https://chromiumcodereview.appspot.com/10829268
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152221 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/launcher/app_list_button.h')
-rw-r--r-- | ash/launcher/app_list_button.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ash/launcher/app_list_button.h b/ash/launcher/app_list_button.h index ee18557..4d25254 100644 --- a/ash/launcher/app_list_button.h +++ b/ash/launcher/app_list_button.h @@ -19,6 +19,9 @@ class AppListButton : public views::ImageButton { LauncherButtonHost* host); virtual ~AppListButton(); + void StartLoadingAnimation(); + void StopLoadingAnimation(); + protected: // View overrides: virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; @@ -39,4 +42,4 @@ class AppListButton : public views::ImageButton { } // namespace internal } // namespace ash -#endif // ASH_LAUNCHER_LAUNCHER_BUTTON_H_ +#endif // ASH_LAUNCHER_APP_LIST_BUTTON_H_ |