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

Issue 2512883002: [Chrome OS MD] Update Cast and VPN to follow MD layout (Closed)

Created:
4 years, 1 month ago by yiyix
Modified:
4 years ago
Reviewers:
tdanderson, bruthig
CC:
chromium-reviews, kalyank, sadrul, oshima+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update Cast and VPN to follow MD layout Implemented the correct layout for both Cast and VPN default rows by following MD specs of system menu, which is done by making use of TriView class. TEST=MANUAL BUG=666522, 666507 Committed: https://crrev.com/a58f98c5be6b86fba82983a7a4f30a318d4524ec Cr-Commit-Position: refs/heads/master@{#434419}

Patch Set 1 #

Total comments: 8

Patch Set 2 : address comments #

Total comments: 3

Patch Set 3 : address comments, thanks @tdanderson #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -43 lines) Patch
M ash/common/system/chromeos/network/vpn_list_view.cc View 1 2 2 chunks +9 lines, -11 lines 0 comments Download
M ash/common/system/chromeos/screen_security/screen_tray_item.cc View 1 2 4 chunks +17 lines, -32 lines 0 comments Download

Messages

Total messages: 23 (13 generated)
yiyix
@bruthig, Could you please take a look at this change? Thank you.
4 years, 1 month ago (2016-11-22 22:02:29 UTC) #9
tdanderson
On 2016/11/22 22:02:29, yiyix wrote: > @bruthig, Could you please take a look at this ...
4 years, 1 month ago (2016-11-23 00:34:19 UTC) #10
bruthig
Left some comments inline, it might make sense to digest them and follow-up offline. https://codereview.chromium.org/2512883002/diff/120001/ash/common/system/chromeos/network/vpn_list_view.cc ...
4 years ago (2016-11-23 20:15:47 UTC) #11
yiyix
@bruthig, Could you please take another look? Thanks. https://codereview.chromium.org/2512883002/diff/120001/ash/common/system/chromeos/network/vpn_list_view.cc File ash/common/system/chromeos/network/vpn_list_view.cc (right): https://codereview.chromium.org/2512883002/diff/120001/ash/common/system/chromeos/network/vpn_list_view.cc#newcode287 ash/common/system/chromeos/network/vpn_list_view.cc:287: views::CreateEmptyBorder(0, ...
4 years ago (2016-11-24 21:38:16 UTC) #12
bruthig
lgtm with nit. https://codereview.chromium.org/2512883002/diff/120001/ash/common/system/chromeos/network/vpn_list_view.cc File ash/common/system/chromeos/network/vpn_list_view.cc (right): https://codereview.chromium.org/2512883002/diff/120001/ash/common/system/chromeos/network/vpn_list_view.cc#newcode287 ash/common/system/chromeos/network/vpn_list_view.cc:287: views::CreateEmptyBorder(0, UseMd() ? 0 : kTrayPopupPaddingHorizontal, ...
4 years ago (2016-11-24 22:36:29 UTC) #13
tdanderson
https://codereview.chromium.org/2512883002/diff/140001/ash/common/system/chromeos/screen_security/screen_tray_item.cc File ash/common/system/chromeos/screen_security/screen_tray_item.cc (right): https://codereview.chromium.org/2512883002/diff/140001/ash/common/system/chromeos/screen_security/screen_tray_item.cc#newcode62 ash/common/system/chromeos/screen_security/screen_tray_item.cc:62: tri_view->AddView(TriView::Container::END, stop_button_); Do you also need to call tri_view->SetContainerVisible(TriView::Container::END, ...
4 years ago (2016-11-25 00:45:41 UTC) #14
tdanderson
LGTM
4 years ago (2016-11-25 00:58:39 UTC) #15
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/2512883002/160001
4 years ago (2016-11-25 00:59:52 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:160001)
4 years ago (2016-11-25 01:28:51 UTC) #21
commit-bot: I haz the power
4 years ago (2016-11-25 01:30:22 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a58f98c5be6b86fba82983a7a4f30a318d4524ec
Cr-Commit-Position: refs/heads/master@{#434419}

Powered by Google App Engine
This is Rietveld 408576698