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

Issue 2861093002: MD WebUI: Reduce flickering of spinner in toolbar search field (Closed)

Created:
3 years, 7 months ago by tsergeant
Modified:
3 years, 7 months ago
Reviewers:
Dan Beam
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, michaelpg+watch-elements_chromium.org, stevenjb+watch-md-settings_chromium.org, dbeam+watch-elements_chromium.org, oshima+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

MD WebUI: Reduce flickering of spinner in toolbar search field In https://crrev.com/402922, the loading spinner inside the WebUI toolbar search field was changed to gradually fade in and out, reducing flickering when the spinner was only shown for a short amount of time. However, https://crrev.com/416604 regressed this behavior by wrapping the spinner in a dom-if, improving performance but preventing the fade animation. This CL combines both approaches, using a dom-if to lazily render the spinner the first time it is used, but then using the fade animation to show and hide the spinner thereafter. BUG=718361 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2861093002 Cr-Commit-Position: refs/heads/master@{#469935} Committed: https://chromium.googlesource.com/chromium/src/+/7d1496a99b064d43adbee156731a2b895ced6d39

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -3 lines) Patch
M ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js View 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 18 (12 generated)
tsergeant
PTAL, thanks!
3 years, 7 months ago (2017-05-05 01:51:41 UTC) #4
Dan Beam
lgtm
3 years, 7 months ago (2017-05-05 17:54:12 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2861093002/1
3 years, 7 months ago (2017-05-08 00:12:11 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/420278)
3 years, 7 months ago (2017-05-08 01:27:31 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2861093002/1
3 years, 7 months ago (2017-05-08 07:17:16 UTC) #15
commit-bot: I haz the power
3 years, 7 months ago (2017-05-08 09:20:00 UTC) #18
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/7d1496a99b064d43adbee156731a...

Powered by Google App Engine
This is Rietveld 408576698