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

Issue 2500513003: Make setting's protocol handler use cr-action-menu instead of paper-item. (Closed)

Created:
4 years, 1 month ago by scottchen
Modified:
4 years, 1 month ago
Reviewers:
dschuyler, dpapad
CC:
arv+watch_chromium.org, chromium-reviews, dbeam+watch-settings_chromium.org, dbeam+watch-closure_chromium.org, jlklein+watch-closure_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, stevenjb+watch-md-settings_chromium.org, vitalyp+closure_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make setting's protocol handler use cr-action-menu instead of paper-item. BUG=603976 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/dcb5fc9af2549a795edf7e67d596e261364a948b Cr-Commit-Position: refs/heads/master@{#432048}

Patch Set 1 #

Patch Set 2 : add tests to protocol handlers #

Total comments: 30

Patch Set 3 : touch-up on protocol-handler code and tests per CR comments #

Total comments: 4

Patch Set 4 : protocol handler function to use private models instead of passed in #

Patch Set 5 : fix return type of boolean function #

Messages

Total messages: 30 (19 generated)
scottchen
4 years, 1 month ago (2016-11-12 00:42:50 UTC) #7
dpapad
https://codereview.chromium.org/2500513003/diff/20001/chrome/browser/resources/settings/site_settings/protocol_handlers.html File chrome/browser/resources/settings/site_settings/protocol_handlers.html (right): https://codereview.chromium.org/2500513003/diff/20001/chrome/browser/resources/settings/site_settings/protocol_handlers.html#newcode62 chrome/browser/resources/settings/site_settings/protocol_handlers.html:62: hidden$="[[isDefault_(actionMenuModel_.index, I believe that hiding a menu option does ...
4 years, 1 month ago (2016-11-14 18:26:21 UTC) #12
Dan Beam
https://codereview.chromium.org/2500513003/diff/20001/chrome/browser/resources/settings/site_settings/protocol_handlers.html File chrome/browser/resources/settings/site_settings/protocol_handlers.html (right): https://codereview.chromium.org/2500513003/diff/20001/chrome/browser/resources/settings/site_settings/protocol_handlers.html#newcode62 chrome/browser/resources/settings/site_settings/protocol_handlers.html:62: hidden$="[[isDefault_(actionMenuModel_.index, On 2016/11/14 18:26:20, dpapad wrote: > I believe ...
4 years, 1 month ago (2016-11-14 20:37:13 UTC) #13
dpapad
https://codereview.chromium.org/2500513003/diff/20001/chrome/browser/resources/settings/site_settings/protocol_handlers.html File chrome/browser/resources/settings/site_settings/protocol_handlers.html (right): https://codereview.chromium.org/2500513003/diff/20001/chrome/browser/resources/settings/site_settings/protocol_handlers.html#newcode62 chrome/browser/resources/settings/site_settings/protocol_handlers.html:62: hidden$="[[isDefault_(actionMenuModel_.index, > stuff with a computed style of display: ...
4 years, 1 month ago (2016-11-14 20:39:35 UTC) #14
scottchen
https://codereview.chromium.org/2500513003/diff/20001/chrome/browser/resources/settings/site_settings/protocol_handlers.html File chrome/browser/resources/settings/site_settings/protocol_handlers.html (right): https://codereview.chromium.org/2500513003/diff/20001/chrome/browser/resources/settings/site_settings/protocol_handlers.html#newcode62 chrome/browser/resources/settings/site_settings/protocol_handlers.html:62: hidden$="[[isDefault_(actionMenuModel_.index, On 2016/11/14 18:26:20, dpapad wrote: > I believe ...
4 years, 1 month ago (2016-11-14 21:38:37 UTC) #15
dpapad
LGTM, with nit. https://codereview.chromium.org/2500513003/diff/20001/chrome/test/data/webui/settings/protocol_handlers_tests.js File chrome/test/data/webui/settings/protocol_handlers_tests.js (right): https://codereview.chromium.org/2500513003/diff/20001/chrome/test/data/webui/settings/protocol_handlers_tests.js#newcode17 chrome/test/data/webui/settings/protocol_handlers_tests.js:17: * @type {ProtocolEntry} On 2016/11/14 at ...
4 years, 1 month ago (2016-11-14 21:54:09 UTC) #16
scottchen
https://codereview.chromium.org/2500513003/diff/40001/chrome/browser/resources/settings/site_settings/protocol_handlers.js File chrome/browser/resources/settings/site_settings/protocol_handlers.js (right): https://codereview.chromium.org/2500513003/diff/40001/chrome/browser/resources/settings/site_settings/protocol_handlers.js#newcode160 chrome/browser/resources/settings/site_settings/protocol_handlers.js:160: isModelDefault_: function(model) { On 2016/11/14 21:54:09, dpapad wrote: > ...
4 years, 1 month ago (2016-11-14 22:06:01 UTC) #17
scottchen
https://codereview.chromium.org/2500513003/diff/40001/chrome/browser/resources/settings/site_settings/protocol_handlers.js File chrome/browser/resources/settings/site_settings/protocol_handlers.js (right): https://codereview.chromium.org/2500513003/diff/40001/chrome/browser/resources/settings/site_settings/protocol_handlers.js#newcode161 chrome/browser/resources/settings/site_settings/protocol_handlers.js:161: return model && (model.index == model.protocol.default_handler); On 2016/11/14 21:54:09, ...
4 years, 1 month ago (2016-11-14 22:06:15 UTC) #18
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/2500513003/80001
4 years, 1 month ago (2016-11-15 00:58:38 UTC) #27
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-11-15 01:46:43 UTC) #28
commit-bot: I haz the power
4 years, 1 month ago (2016-11-15 01:52:15 UTC) #30
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/dcb5fc9af2549a795edf7e67d596e261364a948b
Cr-Commit-Position: refs/heads/master@{#432048}

Powered by Google App Engine
This is Rietveld 408576698