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

Issue 12042095: Move wallpaper progress bar on top of thumbnails (completely remove butter bar) (Closed)

Created:
7 years, 11 months ago by bshe
Modified:
7 years, 10 months ago
Reviewers:
flackr
CC:
chromium-reviews, arv (Not doing code reviews), stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, oshima+watch_chromium.org
Visibility:
Public.

Description

Move wallpaper progress bar on top of thumbnails (completely remove butter bar) This CL removes butter bar completely. We now display progress within each thumbnail. And the UI for error message are removed compeltely for now. After we figure out how to display these error messages. I will add them back to UI. BUG=162563 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=181544

Patch Set 1 #

Patch Set 2 : Please review this patch #

Total comments: 2

Patch Set 3 : Some UI tweaks proposed by UX #

Total comments: 25

Patch Set 4 : address review #

Total comments: 2

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Total comments: 2

Patch Set 7 : #

Patch Set 8 : rebase #

Messages

Total messages: 12 (0 generated)
bshe
Hi Rob. Could you please take a look at this CL? In this CL, I ...
7 years, 11 months ago (2013-01-25 04:35:05 UTC) #1
bshe
I have made some tweaks proposed by UX. Rob, could you take a look? Thanks! ...
7 years, 10 months ago (2013-01-31 00:48:51 UTC) #2
bshe
Hi Rob. Could you please take a look? On 2013/01/31 00:48:51, bshe wrote: > I ...
7 years, 10 months ago (2013-02-01 19:45:38 UTC) #3
flackr
https://codereview.chromium.org/12042095/diff/13001/chrome/browser/resources/chromeos/wallpaper_manager/js/progress_manager.js File chrome/browser/resources/chromeos/wallpaper_manager/js/progress_manager.js (right): https://codereview.chromium.org/12042095/diff/13001/chrome/browser/resources/chromeos/wallpaper_manager/js/progress_manager.js#newcode12 chrome/browser/resources/chromeos/wallpaper_manager/js/progress_manager.js:12: this.progressBar_ = cr.doc.createElement('div'); Could we avoid constructing the progress ...
7 years, 10 months ago (2013-02-05 01:24:19 UTC) #4
bshe
Thanks for review. Please see inlined comment. https://codereview.chromium.org/12042095/diff/13001/chrome/browser/resources/chromeos/wallpaper_manager/js/progress_manager.js File chrome/browser/resources/chromeos/wallpaper_manager/js/progress_manager.js (right): https://codereview.chromium.org/12042095/diff/13001/chrome/browser/resources/chromeos/wallpaper_manager/js/progress_manager.js#newcode12 chrome/browser/resources/chromeos/wallpaper_manager/js/progress_manager.js:12: this.progressBar_ = ...
7 years, 10 months ago (2013-02-05 17:33:10 UTC) #5
flackr
This looks good, I just have a reservation about two classes controlling the same xhr. ...
7 years, 10 months ago (2013-02-06 15:30:46 UTC) #6
bshe
Done. PTAL. Thanks for review. https://codereview.chromium.org/12042095/diff/13001/chrome/browser/resources/chromeos/wallpaper_manager/js/progress_manager.js File chrome/browser/resources/chromeos/wallpaper_manager/js/progress_manager.js (right): https://codereview.chromium.org/12042095/diff/13001/chrome/browser/resources/chromeos/wallpaper_manager/js/progress_manager.js#newcode49 chrome/browser/resources/chromeos/wallpaper_manager/js/progress_manager.js:49: * Removes the progress ...
7 years, 10 months ago (2013-02-06 17:51:31 UTC) #7
bshe
In case this is buried. friendly ping? Thanks. On 2013/02/06 17:51:31, bshe wrote: > Done. ...
7 years, 10 months ago (2013-02-07 20:54:59 UTC) #8
flackr
https://codereview.chromium.org/12042095/diff/29001/chrome/browser/resources/chromeos/wallpaper_manager/js/progress_manager.js File chrome/browser/resources/chromeos/wallpaper_manager/js/progress_manager.js (right): https://codereview.chromium.org/12042095/diff/29001/chrome/browser/resources/chromeos/wallpaper_manager/js/progress_manager.js#newcode50 chrome/browser/resources/chromeos/wallpaper_manager/js/progress_manager.js:50: this.onDownloadStart_.bind(this)); Sorry, I'm pretty sure this won't work. When ...
7 years, 10 months ago (2013-02-07 21:00:16 UTC) #9
bshe
done. thanks! https://codereview.chromium.org/12042095/diff/29001/chrome/browser/resources/chromeos/wallpaper_manager/js/progress_manager.js File chrome/browser/resources/chromeos/wallpaper_manager/js/progress_manager.js (right): https://codereview.chromium.org/12042095/diff/29001/chrome/browser/resources/chromeos/wallpaper_manager/js/progress_manager.js#newcode50 chrome/browser/resources/chromeos/wallpaper_manager/js/progress_manager.js:50: this.onDownloadStart_.bind(this)); dooh. You are absolutely right, bind ...
7 years, 10 months ago (2013-02-07 21:45:58 UTC) #10
flackr
LGTM with nit. https://codereview.chromium.org/12042095/diff/19011/chrome/browser/resources/chromeos/wallpaper_manager/js/progress_manager.js File chrome/browser/resources/chromeos/wallpaper_manager/js/progress_manager.js (right): https://codereview.chromium.org/12042095/diff/19011/chrome/browser/resources/chromeos/wallpaper_manager/js/progress_manager.js#newcode36 chrome/browser/resources/chromeos/wallpaper_manager/js/progress_manager.js:36: this.loadHandler_ = this.onDownloadComplete_.bind(this); Nit: Can we ...
7 years, 10 months ago (2013-02-07 22:01:53 UTC) #11
bshe
7 years, 10 months ago (2013-02-07 23:07:47 UTC) #12
Done. Thanks for review!

https://codereview.chromium.org/12042095/diff/19011/chrome/browser/resources/...
File chrome/browser/resources/chromeos/wallpaper_manager/js/progress_manager.js
(right):

https://codereview.chromium.org/12042095/diff/19011/chrome/browser/resources/...
chrome/browser/resources/chromeos/wallpaper_manager/js/progress_manager.js:36:
this.loadHandler_ = this.onDownloadComplete_.bind(this);
On 2013/02/07 22:01:53, flackr wrote:
> Nit: Can we clean this up a little? i.e.
> this.xhrListeners_ = {
>   'loadstart': this.onDownloadStart_.bind(this),
>   ...
> };
> 
> for (var eventType in this.xhrListeners)
>   this.xhr_.addEventListener(eventType, this.xhrListeners[type]);
> 
> and similar for remove? Then we don't have to worry about keeping the remove
> list in sync.

Done.

Powered by Google App Engine
This is Rietveld 408576698