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

Issue 1420533011: [MD settings] change dropdown to accept array of objects rather than array of tuples (Closed)

Created:
5 years, 1 month ago by dschuyler
Modified:
5 years ago
Reviewers:
michaelpg
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, arv+watch_chromium.org, dcheng
Base URL:
https://chromium.googlesource.com/chromium/src.git@appearance50p
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MD settings] change dropdown to accept array of objects rather than array of tuples This is an optional CL. There was a question from Micael about using named keys for the menu options rather than an array index. This CL shows what that would look like. Performance side-effect: inconsequential (measured by hand). BUG=531786 Committed: https://crrev.com/8bea8800993569264106223337a53ec02001b342 Cr-Commit-Position: refs/heads/master@{#361390}

Patch Set 1 #

Patch Set 2 : rebased onto new dropdown menu code #

Patch Set 3 : fix for clear browsing data dropdown menu #

Total comments: 2

Patch Set 4 : added todo #

Patch Set 5 : merge with master #

Patch Set 6 : trybot fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -41 lines) Patch
M chrome/browser/resources/settings/appearance_page/appearance_fonts_page.js View 1 chunk +14 lines, -5 lines 0 comments Download
M chrome/browser/resources/settings/appearance_page/appearance_page.html View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/appearance_page/appearance_page.js View 1 2 3 4 3 chunks +81 lines, -8 lines 0 comments Download
M chrome/browser/resources/settings/appearance_page/compiled_resources.gyp View 1 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/clear_browsing_data_page/clear_browsing_data_page.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/clear_browsing_data_page/clear_browsing_data_page.js View 1 2 1 chunk +6 lines, -8 lines 0 comments Download
M chrome/browser/resources/settings/controls/compiled_resources.gyp View 1 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/resources/settings/controls/settings_dropdown_menu.html View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/controls/settings_dropdown_menu.js View 1 3 chunks +6 lines, -9 lines 0 comments Download
M chrome/test/data/webui/settings/dropdown_menu_tests.js View 1 2 3 4 5 3 chunks +12 lines, -4 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 15 (5 generated)
dschuyler
5 years, 1 month ago (2015-11-10 22:14:05 UTC) #3
michaelpg
Would you mind rebasing this, or shall I?
5 years, 1 month ago (2015-11-20 15:10:29 UTC) #4
dschuyler
On 2015/11/20 15:10:29, michaelpg wrote: > Would you mind rebasing this, or shall I? I ...
5 years, 1 month ago (2015-11-20 17:37:50 UTC) #5
dschuyler
5 years, 1 month ago (2015-11-20 23:06:42 UTC) #6
dschuyler
PTAL
5 years, 1 month ago (2015-11-20 23:06:53 UTC) #7
michaelpg
lgtm https://codereview.chromium.org/1420533011/diff/40001/chrome/browser/resources/settings/appearance_page/appearance_page.js File chrome/browser/resources/settings/appearance_page/appearance_page.js (right): https://codereview.chromium.org/1420533011/diff/40001/chrome/browser/resources/settings/appearance_page/appearance_page.js#newcode118 chrome/browser/resources/settings/appearance_page/appearance_page.js:118: chrome.settingsPrivate.getDefaultZoomPercent( hmm, won't we need a listener for ...
5 years, 1 month ago (2015-11-21 00:02:28 UTC) #8
dschuyler
https://codereview.chromium.org/1420533011/diff/40001/chrome/browser/resources/settings/appearance_page/appearance_page.js File chrome/browser/resources/settings/appearance_page/appearance_page.js (right): https://codereview.chromium.org/1420533011/diff/40001/chrome/browser/resources/settings/appearance_page/appearance_page.js#newcode118 chrome/browser/resources/settings/appearance_page/appearance_page.js:118: chrome.settingsPrivate.getDefaultZoomPercent( On 2015/11/21 00:02:28, michaelpg wrote: > hmm, won't ...
5 years, 1 month ago (2015-11-21 01:34:41 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1420533011/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1420533011/100001
5 years ago (2015-11-24 18:17:16 UTC) #13
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years ago (2015-11-24 18:25:10 UTC) #14
commit-bot: I haz the power
5 years ago (2015-11-24 18:26:53 UTC) #15
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/8bea8800993569264106223337a53ec02001b342
Cr-Commit-Position: refs/heads/master@{#361390}

Powered by Google App Engine
This is Rietveld 408576698