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

Issue 6378006: Add Throbber control for DOMUI. Use it everywhere in options and in Sync setup UI. (Closed)

Created:
9 years, 11 months ago by Sergey Ulanov
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ncarter (slow), Alpha Left Google, Sergey Ulanov, Raghu Simha, idana, dmac, awong, garykac, tim (not reviewing), arv (Not doing code reviews)
Visibility:
Public.

Description

Add Throbber control for DOMUI. Use it everywhere in options and in Sync setup UI. BUG=69755 TEST=Throbber works properly when settings page is scaled. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72104

Patch Set 1 #

Patch Set 2 : - #

Total comments: 18

Patch Set 3 : Use -webkit-animation instead of a timer #

Total comments: 2

Patch Set 4 : addressed nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -90 lines) Patch
M chrome/browser/dom_ui/shared_resources_data_source.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/remoting/resources/remoting_setting_up.html View 1 2 2 chunks +3 lines, -18 lines 0 comments Download
M chrome/browser/resources/options/clear_browser_data_overlay.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/options/clear_browser_data_overlay.js View 1 2 1 chunk +0 lines, -14 lines 0 comments Download
M chrome/browser/resources/options/import_data_overlay.css View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/resources/options/import_data_overlay.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/options/import_data_overlay.js View 1 2 2 chunks +0 lines, -14 lines 0 comments Download
M chrome/browser/resources/options/options.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A chrome/browser/resources/shared/css/throbber.css View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/browser/resources/shared_resources.grd View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/sync/resources/gaia_login.html View 1 2 6 chunks +7 lines, -20 lines 0 comments Download
M chrome/browser/sync/resources/setting_up.html View 1 2 2 chunks +3 lines, -18 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Sergey Ulanov
9 years, 11 months ago (2011-01-19 19:58:21 UTC) #1
James Hawkins
http://codereview.chromium.org/6378006/diff/2001/chrome/browser/resources/options/import_data_overlay.html File chrome/browser/resources/options/import_data_overlay.html (right): http://codereview.chromium.org/6378006/diff/2001/chrome/browser/resources/options/import_data_overlay.html#newcode29 chrome/browser/resources/options/import_data_overlay.html:29: <div id="import-throbber" class="throbber" style="visibility:hidden;"></div> No style declarations in html ...
9 years, 11 months ago (2011-01-19 20:34:57 UTC) #2
arv (Not doing code reviews)
http://codereview.chromium.org/6378006/diff/2001/chrome/browser/resources/shared/js/cr/ui/throbber.js File chrome/browser/resources/shared/js/cr/ui/throbber.js (right): http://codereview.chromium.org/6378006/diff/2001/chrome/browser/resources/shared/js/cr/ui/throbber.js#newcode49 chrome/browser/resources/shared/js/cr/ui/throbber.js:49: return this.style.visibility != 'hidden'; Should this be using computed ...
9 years, 11 months ago (2011-01-19 21:11:17 UTC) #3
arv (Not doing code reviews)
http://codereview.chromium.org/6378006/diff/2001/chrome/browser/resources/shared/js/cr/ui/throbber.js File chrome/browser/resources/shared/js/cr/ui/throbber.js (right): http://codereview.chromium.org/6378006/diff/2001/chrome/browser/resources/shared/js/cr/ui/throbber.js#newcode58 chrome/browser/resources/shared/js/cr/ui/throbber.js:58: this.style.backgroundPositionX = this.currentPosition_ + 'px'; On 2011/01/19 21:11:18, arv ...
9 years, 11 months ago (2011-01-19 21:33:41 UTC) #4
Sergey Ulanov
Changed this to use -webkit-animation. Now we don't need any javascript! http://codereview.chromium.org/6378006/diff/2001/chrome/browser/resources/options/import_data_overlay.html File chrome/browser/resources/options/import_data_overlay.html (right): ...
9 years, 11 months ago (2011-01-20 02:00:49 UTC) #5
arv (Not doing code reviews)
Awesome
9 years, 11 months ago (2011-01-20 19:29:43 UTC) #6
James Hawkins
LGTM http://codereview.chromium.org/6378006/diff/11001/chrome/browser/resources/shared/css/throbber.css File chrome/browser/resources/shared/css/throbber.css (right): http://codereview.chromium.org/6378006/diff/11001/chrome/browser/resources/shared/css/throbber.css#newcode7 chrome/browser/resources/shared/css/throbber.css:7: -webkit-animation: throbber-animation 1s steps(36, end) 0 infinite; nit: ...
9 years, 11 months ago (2011-01-20 21:21:06 UTC) #7
Sergey Ulanov
9 years, 11 months ago (2011-01-21 03:01:49 UTC) #8
http://codereview.chromium.org/6378006/diff/11001/chrome/browser/resources/sh...
File chrome/browser/resources/shared/css/throbber.css (right):

http://codereview.chromium.org/6378006/diff/11001/chrome/browser/resources/sh...
chrome/browser/resources/shared/css/throbber.css:7: -webkit-animation:
throbber-animation 1s steps(36, end) 0 infinite;
On 2011/01/20 21:21:08, James Hawkins wrote:
> nit: -webkit-animation should be moved to the top.

Done.

Powered by Google App Engine
This is Rietveld 408576698