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

Issue 2069323002: Add support for custom entries in <cr_network_select/>. (Closed)

Created:
4 years, 6 months ago by Alexander Alekseev
Modified:
4 years, 5 months ago
Reviewers:
stevenjb
CC:
chromium-reviews, oshima+watch_chromium.org, dzhioev+watch_chromium.org, achuith+watch_chromium.org, arv+watch_chromium.org, dbeam+watch-elements_chromium.org, michaelpg+watch-elements_chromium.org, stevenjb+watch-md-settings_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@604119--Implement-Chrome-OS-out-of-box-flow-in-Material-Design--ImplementNetworkSelectionScreen
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add support for custom entries in <cr_network_select/>. This CL adds support for custom menu entries in <cr_network_select/> . BUG=604119 TEST=none CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/12d8289a3c40f7ad998962c07f35fdffb949ee94 Cr-Commit-Position: refs/heads/master@{#403090}

Patch Set 1 #

Patch Set 2 : Remove dependency. #

Patch Set 3 : Remove extra files #

Total comments: 11

Patch Set 4 : Update after review. #

Patch Set 5 : Fix network_summary_item #

Patch Set 6 : Split cr-network-list into two dom-repeat objects/. Removed list_item_base. #

Total comments: 24

Patch Set 7 : Update after review. #

Total comments: 2

Patch Set 8 : upload with --similarity=30 #

Patch Set 9 : Update after review. #

Patch Set 10 : upload --similarity=30 #

Total comments: 6

Patch Set 11 : Update after review. #

Total comments: 6

Patch Set 12 : Update after review. #

Patch Set 13 : Rebased. #

Patch Set 14 : Fix compile. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+290 lines, -530 lines) Patch
M chrome/browser/resources/chromeos/network_ui/network_ui.html View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/internet_page/internet_known_networks_page.html View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/internet_page/network_summary.js View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/network_summary_item.html View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M ui/webui/resources/cr_elements/network/compiled_resources2.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +14 lines, -1 line 0 comments Download
M ui/webui/resources/cr_elements/network/cr_network_list.html View 1 2 3 4 5 6 2 chunks +15 lines, -5 lines 0 comments Download
M ui/webui/resources/cr_elements/network/cr_network_list.js View 1 2 3 4 5 6 2 chunks +21 lines, -1 line 0 comments Download
A + ui/webui/resources/cr_elements/network/cr_network_list_custom_item.html View 1 2 3 4 5 6 7 1 chunk +18 lines, -22 lines 0 comments Download
A ui/webui/resources/cr_elements/network/cr_network_list_custom_item.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +69 lines, -0 lines 0 comments Download
M ui/webui/resources/cr_elements/network/cr_network_list_item.html View 1 2 3 4 5 1 chunk +0 lines, -123 lines 0 comments Download
M ui/webui/resources/cr_elements/network/cr_network_list_item.js View 1 2 3 4 5 1 chunk +0 lines, -220 lines 0 comments Download
A + ui/webui/resources/cr_elements/network/cr_network_list_item_css.html View 1 2 3 4 5 6 7 4 chunks +4 lines, -41 lines 0 comments Download
A + ui/webui/resources/cr_elements/network/cr_network_list_network_item.html View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +8 lines, -87 lines 0 comments Download
A + ui/webui/resources/cr_elements/network/cr_network_list_network_item.js View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +39 lines, -9 lines 0 comments Download
A ui/webui/resources/cr_elements/network/cr_network_list_types.html View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A ui/webui/resources/cr_elements/network/cr_network_list_types.js View 1 2 3 4 5 6 1 chunk +22 lines, -0 lines 0 comments Download
M ui/webui/resources/cr_elements/network/cr_network_select.html View 1 2 3 4 5 6 2 chunks +5 lines, -5 lines 0 comments Download
M ui/webui/resources/cr_elements/network/cr_network_select.js View 1 2 3 4 5 6 7 8 3 chunks +43 lines, -3 lines 0 comments Download
M ui/webui/resources/cr_elements_resources.grdp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +19 lines, -4 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 60 (18 generated)
Alexander Alekseev
Please review.
4 years, 6 months ago (2016-06-16 01:03:30 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2069323002/20001
4 years, 6 months ago (2016-06-16 01:03:52 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2069323002/40001
4 years, 6 months ago (2016-06-16 01:17:40 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: closure_compilation on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/closure_compilation/builds/581)
4 years, 6 months ago (2016-06-16 01:28:57 UTC) #9
stevenjb
https://codereview.chromium.org/2069323002/diff/40001/ui/webui/resources/cr_elements/network/cr_network_list.html File ui/webui/resources/cr_elements/network/cr_network_list.html (right): https://codereview.chromium.org/2069323002/diff/40001/ui/webui/resources/cr_elements/network/cr_network_list.html#newcode29 ui/webui/resources/cr_elements/network/cr_network_list.html:29: list-item-type="[[listType]]" on-tap="onTap_" no-buttons="[[noButtons]]" Can we invert this, e.g. show-buttons? ...
4 years, 6 months ago (2016-06-16 17:41:34 UTC) #10
Alexander Alekseev
https://codereview.chromium.org/2069323002/diff/40001/ui/webui/resources/cr_elements/network/cr_network_list.html File ui/webui/resources/cr_elements/network/cr_network_list.html (right): https://codereview.chromium.org/2069323002/diff/40001/ui/webui/resources/cr_elements/network/cr_network_list.html#newcode29 ui/webui/resources/cr_elements/network/cr_network_list.html:29: list-item-type="[[listType]]" on-tap="onTap_" no-buttons="[[noButtons]]" On 2016/06/16 17:41:34, stevenjb wrote: > ...
4 years, 6 months ago (2016-06-22 08:24:18 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2069323002/60001
4 years, 6 months ago (2016-06-22 08:24:40 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-22 09:15:26 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2069323002/80001
4 years, 6 months ago (2016-06-22 10:38:32 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-22 11:31:45 UTC) #19
stevenjb
On 2016/06/22 11:31:45, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
4 years, 6 months ago (2016-06-22 21:00:52 UTC) #20
stevenjb
https://codereview.chromium.org/2069323002/diff/40001/ui/webui/resources/cr_elements/network/cr_network_select.js File ui/webui/resources/cr_elements/network/cr_network_select.js (right): https://codereview.chromium.org/2069323002/diff/40001/ui/webui/resources/cr_elements/network/cr_network_select.js#newcode217 ui/webui/resources/cr_elements/network/cr_network_select.js:217: this.onNetworkListItemSelectedObserver(state); On 2016/06/22 08:24:18, Alexander Alekseev wrote: > On ...
4 years, 6 months ago (2016-06-22 21:03:24 UTC) #21
Alexander Alekseev
On 2016/06/22 21:00:52, stevenjb wrote: > On 2016/06/22 11:31:45, commit-bot: I haz the power wrote: ...
4 years, 6 months ago (2016-06-22 22:42:21 UTC) #22
Alexander Alekseev
On 2016/06/22 21:03:24, stevenjb wrote: > https://codereview.chromium.org/2069323002/diff/40001/ui/webui/resources/cr_elements/network/cr_network_select.js > File ui/webui/resources/cr_elements/network/cr_network_select.js (right): > > https://codereview.chromium.org/2069323002/diff/40001/ui/webui/resources/cr_elements/network/cr_network_select.js#newcode217 > ...
4 years, 6 months ago (2016-06-22 22:44:54 UTC) #23
stevenjb
1. The styling isn't that complicated, we shouldn't be using 4 html+JS files just to ...
4 years, 6 months ago (2016-06-22 22:58:19 UTC) #24
Alexander Alekseev
On 2016/06/22 22:58:19, stevenjb wrote: > 1. The styling isn't that complicated, we shouldn't be ...
4 years, 6 months ago (2016-06-22 23:49:45 UTC) #25
stevenjb
On Wed, Jun 22, 2016 at 4:49 PM, <alemate@chromium.org> wrote: > On 2016/06/22 22:58:19, stevenjb ...
4 years, 6 months ago (2016-06-22 23:59:49 UTC) #26
Alexander Alekseev
On 2016/06/22 23:59:49, stevenjb wrote: > On Wed, Jun 22, 2016 at 4:49 PM, <mailto:alemate@chromium.org> ...
4 years, 6 months ago (2016-06-23 00:06:53 UTC) #27
stevenjb
Yeah, looking at that code I think it would be much cleaner if it just ...
4 years, 6 months ago (2016-06-23 00:19:49 UTC) #28
Alexander Alekseev
On 2016/06/23 00:19:49, stevenjb wrote: > Yeah, looking at that code I think it would ...
4 years, 6 months ago (2016-06-23 00:46:04 UTC) #29
stevenjb
While I see your point, this is html and javascript, we are used to containers ...
4 years, 6 months ago (2016-06-23 01:00:06 UTC) #30
Alexander Alekseev
Please review.
4 years, 6 months ago (2016-06-24 06:34:16 UTC) #31
stevenjb
Thanks! FWIW, this was *much* more straightforward to review. https://codereview.chromium.org/2069323002/diff/100001/ui/webui/resources/cr_elements/network/compiled_resources2.gyp File ui/webui/resources/cr_elements/network/compiled_resources2.gyp (right): https://codereview.chromium.org/2069323002/diff/100001/ui/webui/resources/cr_elements/network/compiled_resources2.gyp#newcode41 ui/webui/resources/cr_elements/network/compiled_resources2.gyp:41: ...
4 years, 6 months ago (2016-06-24 22:33:09 UTC) #32
Alexander Alekseev
https://codereview.chromium.org/2069323002/diff/100001/ui/webui/resources/cr_elements/network/compiled_resources2.gyp File ui/webui/resources/cr_elements/network/compiled_resources2.gyp (right): https://codereview.chromium.org/2069323002/diff/100001/ui/webui/resources/cr_elements/network/compiled_resources2.gyp#newcode41 ui/webui/resources/cr_elements/network/compiled_resources2.gyp:41: 'target_name': 'cr_network_list_network_item', On 2016/06/24 22:33:08, stevenjb wrote: > Duplicate? ...
4 years, 6 months ago (2016-06-25 06:04:43 UTC) #33
stevenjb
https://codereview.chromium.org/2069323002/diff/100001/ui/webui/resources/cr_elements/network/cr_network_list_network_item.html File ui/webui/resources/cr_elements/network/cr_network_list_network_item.html (right): https://codereview.chromium.org/2069323002/diff/100001/ui/webui/resources/cr_elements/network/cr_network_list_network_item.html#newcode11 ui/webui/resources/cr_elements/network/cr_network_list_network_item.html:11: <style include="cr-network-list-item-css"></style> On 2016/06/24 22:33:08, stevenjb wrote: > Could ...
4 years, 5 months ago (2016-06-27 20:06:04 UTC) #34
stevenjb
https://codereview.chromium.org/2069323002/diff/100001/ui/webui/resources/cr_elements/network/cr_network_select.js File ui/webui/resources/cr_elements/network/cr_network_select.js (right): https://codereview.chromium.org/2069323002/diff/100001/ui/webui/resources/cr_elements/network/cr_network_select.js#newcode94 ui/webui/resources/cr_elements/network/cr_network_select.js:94: itemSelectedEventOverride: { On 2016/06/24 22:33:08, stevenjb wrote: > I ...
4 years, 5 months ago (2016-06-27 20:09:45 UTC) #35
Alexander Alekseev
https://codereview.chromium.org/2069323002/diff/100001/ui/webui/resources/cr_elements/network/cr_network_select.js File ui/webui/resources/cr_elements/network/cr_network_select.js (right): https://codereview.chromium.org/2069323002/diff/100001/ui/webui/resources/cr_elements/network/cr_network_select.js#newcode94 ui/webui/resources/cr_elements/network/cr_network_select.js:94: itemSelectedEventOverride: { On 2016/06/27 20:09:45, stevenjb wrote: > On ...
4 years, 5 months ago (2016-06-28 06:51:16 UTC) #36
stevenjb
Looking good, thanks for re-uploading, it made reviewing that file much easier. Just a couple ...
4 years, 5 months ago (2016-06-28 18:35:34 UTC) #37
Alexander Alekseev
https://codereview.chromium.org/2069323002/diff/180001/ui/webui/resources/cr_elements/network/cr_network_list_network_item.html File ui/webui/resources/cr_elements/network/cr_network_list_network_item.html (right): https://codereview.chromium.org/2069323002/diff/180001/ui/webui/resources/cr_elements/network/cr_network_list_network_item.html#newcode19 ui/webui/resources/cr_elements/network/cr_network_list_network_item.html:19: <span id="itemName"></span> On 2016/06/28 18:35:33, stevenjb wrote: > optional ...
4 years, 5 months ago (2016-06-29 03:30:32 UTC) #38
stevenjb
https://codereview.chromium.org/2069323002/diff/180001/ui/webui/resources/cr_elements/network/cr_network_list_network_item.html File ui/webui/resources/cr_elements/network/cr_network_list_network_item.html (right): https://codereview.chromium.org/2069323002/diff/180001/ui/webui/resources/cr_elements/network/cr_network_list_network_item.html#newcode19 ui/webui/resources/cr_elements/network/cr_network_list_network_item.html:19: <span id="itemName"></span> On 2016/06/29 03:30:31, Alexander Alekseev wrote: > ...
4 years, 5 months ago (2016-06-29 17:32:56 UTC) #39
Alexander Alekseev
https://codereview.chromium.org/2069323002/diff/200001/ui/webui/resources/cr_elements/network/cr_network_list_network_item.html File ui/webui/resources/cr_elements/network/cr_network_list_network_item.html (right): https://codereview.chromium.org/2069323002/diff/200001/ui/webui/resources/cr_elements/network/cr_network_list_network_item.html#newcode23 ui/webui/resources/cr_elements/network/cr_network_list_network_item.html:23: <div class="buttons" hidden$="[[!isSettingsButtonVisible_(showButtons,listItemType)]]"> On 2016/06/29 17:32:55, stevenjb wrote: > ...
4 years, 5 months ago (2016-06-29 22:55:34 UTC) #40
stevenjb
lgtm, thanks for doing the re-factoring. Make sure to run ./third_party/closure_compiler/run_compiler if you haven't already.
4 years, 5 months ago (2016-06-29 23:25:06 UTC) #41
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2069323002/220001
4 years, 5 months ago (2016-06-30 00:42:41 UTC) #43
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/29135) ios-device-gn on ...
4 years, 5 months ago (2016-06-30 00:45:19 UTC) #45
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2069323002/240001
4 years, 5 months ago (2016-06-30 01:17:05 UTC) #47
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: closure_compilation on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/closure_compilation/builds/767)
4 years, 5 months ago (2016-06-30 01:28:18 UTC) #49
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2069323002/260001
4 years, 5 months ago (2016-06-30 02:59:32 UTC) #51
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-06-30 04:46:22 UTC) #53
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/2069323002/260001
4 years, 5 months ago (2016-06-30 04:49:34 UTC) #56
commit-bot: I haz the power
Committed patchset #14 (id:260001)
4 years, 5 months ago (2016-06-30 04:53:58 UTC) #57
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-06-30 04:54:01 UTC) #58
commit-bot: I haz the power
4 years, 5 months ago (2016-06-30 04:55:45 UTC) #60
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/12d8289a3c40f7ad998962c07f35fdffb949ee94
Cr-Commit-Position: refs/heads/master@{#403090}

Powered by Google App Engine
This is Rietveld 408576698