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

Issue 10829268: chromeos: Sync animation. (Closed)

Created:
8 years, 4 months ago by xiyuan
Modified:
8 years, 4 months ago
CC:
chromium-reviews, tfarina, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

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. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152221

Patch Set 1 #

Patch Set 2 : fix premature stop loading ui #

Patch Set 3 : wrap up + rebase #

Total comments: 10

Patch Set 4 : for sky's comments in #3 #

Total comments: 4

Patch Set 5 : for sky's comments in #4 #

Patch Set 6 : pulsing app list button instead of adding placeholders #

Patch Set 7 : fix unit_tests compile + rebase #

Patch Set 8 : fix unit_tests crash + rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+279 lines, -276 lines) Patch
M ash/ash_strings.grd View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M ash/launcher/app_list_button.h View 1 2 3 4 5 2 chunks +4 lines, -1 line 0 comments Download
M ash/launcher/app_list_button.cc View 1 2 3 4 5 1 chunk +88 lines, -10 lines 0 comments Download
M ash/launcher/launcher_button.h View 1 2 3 4 5 6 4 chunks +1 line, -11 lines 0 comments Download
M ash/launcher/launcher_button.cc View 1 2 3 4 5 6 6 chunks +1 line, -106 lines 0 comments Download
M ash/launcher/launcher_model.h View 1 2 3 4 5 3 chunks +10 lines, -0 lines 0 comments Download
M ash/launcher/launcher_model.cc View 1 2 3 4 5 3 chunks +10 lines, -2 lines 0 comments Download
M ash/launcher/launcher_model_observer.h View 1 2 3 4 5 1 chunk +4 lines, -1 line 0 comments Download
M ash/launcher/launcher_model_unittest.cc View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M ash/launcher/launcher_types.h View 1 2 3 4 5 1 chunk +0 lines, -5 lines 0 comments Download
M ash/launcher/launcher_view.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ash/launcher/launcher_view.cc View 1 2 3 4 5 7 chunks +17 lines, -36 lines 0 comments Download
M ash/launcher/launcher_view_unittest.cc View 1 2 2 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/extensions/pending_extension_manager.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/pending_extension_manager.cc View 1 2 3 chunks +14 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.h View 1 2 3 4 5 6 8 chunks +22 lines, -8 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc View 1 2 3 4 5 6 7 11 chunks +81 lines, -48 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -22 lines 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_context_menu.cc View 1 2 1 chunk +15 lines, -18 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
xiyuan
sky please drive the overall review. tim please review sync related change in chrome_launcher_controller.cc/h kalman ...
8 years, 4 months ago (2012-08-14 17:57:44 UTC) #1
sky
http://codereview.chromium.org/10829268/diff/5002/ash/launcher/app_placeholder_view.cc File ash/launcher/app_placeholder_view.cc (right): http://codereview.chromium.org/10829268/diff/5002/ash/launcher/app_placeholder_view.cc#newcode31 ash/launcher/app_placeholder_view.cc:31: int g_animation_start_delay = 0; This isn't really a global, ...
8 years, 4 months ago (2012-08-14 20:02:33 UTC) #2
xiyuan
http://codereview.chromium.org/10829268/diff/5002/ash/launcher/launcher_model.cc File ash/launcher/launcher_model.cc (right): http://codereview.chromium.org/10829268/diff/5002/ash/launcher/launcher_model.cc#newcode181 ash/launcher/launcher_model.cc:181: if (items_[index].type == TYPE_APP_PLACEHOLDER) { On 2012/08/14 20:02:34, sky ...
8 years, 4 months ago (2012-08-14 23:11:32 UTC) #3
sky
On Tue, Aug 14, 2012 at 4:11 PM, <xiyuan@chromium.org> wrote: > > http://codereview.chromium.org/10829268/diff/5002/ash/launcher/launcher_model.cc > File ...
8 years, 4 months ago (2012-08-14 23:46:36 UTC) #4
not at google - send to devlin
extensions lgtm
8 years, 4 months ago (2012-08-15 05:25:09 UTC) #5
xiyuan
CL updated. It still uses TYPE_APP_PLACEHOLDER instead of STATE_IS_PENDING but adding/removing placholders logic is moved ...
8 years, 4 months ago (2012-08-15 18:23:27 UTC) #6
sky
http://codereview.chromium.org/10829268/diff/10001/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc File chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc (right): http://codereview.chromium.org/10829268/diff/10001/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc#newcode1027 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc:1027: for (int i = 0; i < kMaxLoadingPlaceholders; ++i) ...
8 years, 4 months ago (2012-08-15 20:52:36 UTC) #7
xiyuan
http://codereview.chromium.org/10829268/diff/10001/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc File chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc (right): http://codereview.chromium.org/10829268/diff/10001/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc#newcode1027 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc:1027: for (int i = 0; i < kMaxLoadingPlaceholders; ++i) ...
8 years, 4 months ago (2012-08-15 21:36:03 UTC) #8
xiyuan
CL updated to show pulsing app list button instead of adding 4 pulsing squares per ...
8 years, 4 months ago (2012-08-16 21:02:34 UTC) #9
sky
LGTM
8 years, 4 months ago (2012-08-16 22:32:45 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/10829268/8036
8 years, 4 months ago (2012-08-17 22:21:21 UTC) #11
commit-bot: I haz the power
8 years, 4 months ago (2012-08-18 02:22:18 UTC) #12
Change committed as 152221

Powered by Google App Engine
This is Rietveld 408576698