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

Issue 2300633006: MD Settings: Search Engine: Call iron-list notifyResize (Closed)

Created:
4 years, 3 months ago by stevenjb
Modified:
4 years, 3 months ago
Reviewers:
dschuyler
CC:
chromium-reviews, dbeam+watch-elements_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, dbeam+watch-settings_chromium.org, michaelpg+watch-elements_chromium.org, stevenjb+watch-md-settings_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: Search Engine: Call iron-list notifyResize In order to update promptly, iron-list needs to be notified when it becomes invisible. The simplest way to do that for search engines is to observe when the list contents change. BUG=642661 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/7466e51654d699a7e99fdca6e40c0955387be069 Cr-Commit-Position: refs/heads/master@{#416767}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 3

Patch Set 3 : Rebase, comment, simplify #

Patch Set 4 : Fix closure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -2 lines) Patch
M chrome/browser/resources/settings/search_engines_page/compiled_resources2.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/settings/search_engines_page/search_engines_list.js View 1 2 1 chunk +9 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/search_engines_page/search_engines_page.html View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/search_engines_page/search_engines_page.js View 1 2 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (11 generated)
stevenjb
4 years, 3 months ago (2016-09-01 18:03:13 UTC) #3
michaelpg
> In order to update promptly, iron-list needs to be notified > when either its ...
4 years, 3 months ago (2016-09-01 21:50:04 UTC) #4
stevenjb
On 2016/09/01 21:50:04, michaelpg wrote: > > In order to update promptly, iron-list needs to ...
4 years, 3 months ago (2016-09-01 22:48:57 UTC) #5
dschuyler
May we get comments in the code about this workaround. It could be something short ...
4 years, 3 months ago (2016-09-01 23:21:50 UTC) #6
Dan Beam
https://codereview.chromium.org/2300633006/diff/20001/chrome/browser/resources/settings/search_engines_page/search_engines_page.js File chrome/browser/resources/settings/search_engines_page/search_engines_page.js (right): https://codereview.chromium.org/2300633006/diff/20001/chrome/browser/resources/settings/search_engines_page/search_engines_page.js#newcode73 chrome/browser/resources/settings/search_engines_page/search_engines_page.js:73: this.extensions = searchEnginesInfo['extensions']; doesn't this already accomplish what you're ...
4 years, 3 months ago (2016-09-02 00:41:11 UTC) #7
Dan Beam
https://codereview.chromium.org/2300633006/diff/20001/chrome/browser/resources/settings/search_engines_page/search_engines_page.js File chrome/browser/resources/settings/search_engines_page/search_engines_page.js (right): https://codereview.chromium.org/2300633006/diff/20001/chrome/browser/resources/settings/search_engines_page/search_engines_page.js#newcode73 chrome/browser/resources/settings/search_engines_page/search_engines_page.js:73: this.extensions = searchEnginesInfo['extensions']; On 2016/09/02 00:41:11, Dan Beam wrote: ...
4 years, 3 months ago (2016-09-02 00:42:19 UTC) #8
stevenjb
PTAL
4 years, 3 months ago (2016-09-06 18:12:59 UTC) #10
dschuyler
lgtm
4 years, 3 months ago (2016-09-06 18:40:22 UTC) #12
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/2300633006/60001
4 years, 3 months ago (2016-09-06 20:15:09 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: closure_compilation on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/closure_compilation/builds/2458)
4 years, 3 months ago (2016-09-06 20:34:42 UTC) #16
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/2300633006/80001
4 years, 3 months ago (2016-09-06 20:56:15 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 3 months ago (2016-09-06 23:25:05 UTC) #22
commit-bot: I haz the power
4 years, 3 months ago (2016-09-06 23:30:45 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/7466e51654d699a7e99fdca6e40c0955387be069
Cr-Commit-Position: refs/heads/master@{#416767}

Powered by Google App Engine
This is Rietveld 408576698