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

Issue 2530763002: [ash-md] Adjusts layout of lists with sticky header rows to match specs (Closed)

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

Description

[ash-md] Adjusts layout of lists with sticky header rows to match specs This CL adds a separator above the sticky header rows when those rows are not at the top of the list. The visible separator line is drawn by this separator and is no longer a part of the sub-section header row. The sticky row decoration is adjusted such that a separator is painted only when one header is pushing another since in all other cases the explicitly added separator is painting the line. Since VPN page is not using sticky headers yet some special treatment is added there to adjust the height of the header row when it is the first item in the list. BUG=668545 TEST=Manual visual inspection Committed: https://crrev.com/d66d5e2cd8ff8ae53f607dd85534d130b33048f4 Cr-Commit-Position: refs/heads/master@{#434832}

Patch Set 1 #

Patch Set 2 : [ash-md] Adjusts layout of lists with sticky header rows to match specs (horizontal offsets) #

Total comments: 2

Patch Set 3 : [ash-md] Adjusts layout of lists with sticky header rows to match specs (rebased) #

Total comments: 35

Patch Set 4 : [ash-md] Adjusts layout of lists with sticky header rows to match specs (some comments and rebased) #

Patch Set 5 : [ash-md] Adjusts layout of lists with sticky header rows to match specs (factory) #

Total comments: 2

Patch Set 6 : [ash-md] Adjusts layout of lists with sticky header rows to match specs (restored header row as the… #

Patch Set 7 : [ash-md] Adjusts layout of lists with sticky header rows to match specs (simpler) #

Patch Set 8 : [ash-md] Adjusts layout of lists with sticky header rows to match specs (use TriView in Network pag… #

Total comments: 2

Patch Set 9 : [ash-md] Adjusts layout of lists with sticky header rows to match specs (cleanup of shill) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -72 lines) Patch
M ash/common/system/chromeos/network/network_list_md.h View 1 2 3 3 chunks +10 lines, -5 lines 0 comments Download
M ash/common/system/chromeos/network/network_list_md.cc View 1 2 3 4 5 6 7 11 chunks +36 lines, -43 lines 0 comments Download
M ash/common/system/chromeos/network/vpn_list_view.cc View 1 2 3 4 5 6 7 3 chunks +17 lines, -11 lines 0 comments Download
M ash/common/system/tray/tray_details_view.cc View 1 2 3 4 chunks +14 lines, -13 lines 0 comments Download
M ash/common/system/tray/tray_popup_utils.h View 1 2 3 4 2 chunks +16 lines, -0 lines 0 comments Download
M ash/common/system/tray/tray_popup_utils.cc View 1 2 3 4 5 6 7 2 chunks +22 lines, -0 lines 0 comments Download
M ash/common/system/tray/tri_view.h View 1 chunk +1 line, -0 lines 0 comments Download
M ash/common/system/tray/tri_view.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 44 (31 generated)
varkha
tdanderson@, can you please take a look? Thanks! https://codereview.chromium.org/2530763002/diff/20001/chromeos/dbus/fake_shill_manager_client.cc File chromeos/dbus/fake_shill_manager_client.cc (right): https://codereview.chromium.org/2530763002/diff/20001/chromeos/dbus/fake_shill_manager_client.cc#newcode41 chromeos/dbus/fake_shill_manager_client.cc:41: int ...
4 years ago (2016-11-24 06:46:54 UTC) #2
tdanderson
Please see my comments below. https://codereview.chromium.org/2530763002/diff/20001/chromeos/dbus/fake_shill_manager_client.cc File chromeos/dbus/fake_shill_manager_client.cc (right): https://codereview.chromium.org/2530763002/diff/20001/chromeos/dbus/fake_shill_manager_client.cc#newcode41 chromeos/dbus/fake_shill_manager_client.cc:41: int s_extra_wifi_networks = 20; ...
4 years ago (2016-11-24 23:37:54 UTC) #16
tdanderson
https://codereview.chromium.org/2530763002/diff/40001/ash/common/system/chromeos/network/vpn_list_view.cc File ash/common/system/chromeos/network/vpn_list_view.cc (right): https://codereview.chromium.org/2530763002/diff/40001/ash/common/system/chromeos/network/vpn_list_view.cc#newcode125 ash/common/system/chromeos/network/vpn_list_view.cc:125: auto box_layout = base::MakeUnique<views::BoxLayout>( On 2016/11/24 23:37:53, tdanderson wrote: ...
4 years ago (2016-11-24 23:59:52 UTC) #17
bruthig
Drive by... https://codereview.chromium.org/2530763002/diff/40001/ash/common/system/chromeos/network/vpn_list_view.cc File ash/common/system/chromeos/network/vpn_list_view.cc (right): https://codereview.chromium.org/2530763002/diff/40001/ash/common/system/chromeos/network/vpn_list_view.cc#newcode125 ash/common/system/chromeos/network/vpn_list_view.cc:125: auto box_layout = base::MakeUnique<views::BoxLayout>( On 2016/11/24 23:37:53, ...
4 years ago (2016-11-25 00:08:54 UTC) #19
varkha
https://codereview.chromium.org/2530763002/diff/40001/ash/common/system/chromeos/network/network_list_md.cc File ash/common/system/chromeos/network/network_list_md.cc (right): https://codereview.chromium.org/2530763002/diff/40001/ash/common/system/chromeos/network/network_list_md.cc#newcode450 ash/common/system/chromeos/network/network_list_md.cc:450: // Keep an index of the last inserted child. ...
4 years ago (2016-11-28 17:14:39 UTC) #20
varkha
https://codereview.chromium.org/2530763002/diff/40001/ash/common/system/chromeos/network/vpn_list_view.cc File ash/common/system/chromeos/network/vpn_list_view.cc (right): https://codereview.chromium.org/2530763002/diff/40001/ash/common/system/chromeos/network/vpn_list_view.cc#newcode125 ash/common/system/chromeos/network/vpn_list_view.cc:125: auto box_layout = base::MakeUnique<views::BoxLayout>( On 2016/11/25 00:08:54, bruthig wrote: ...
4 years ago (2016-11-28 21:24:49 UTC) #28
bruthig
https://codereview.chromium.org/2530763002/diff/100001/ash/common/system/chromeos/network/vpn_list_view.cc File ash/common/system/chromeos/network/vpn_list_view.cc (right): https://codereview.chromium.org/2530763002/diff/100001/ash/common/system/chromeos/network/vpn_list_view.cc#newcode141 ash/common/system/chromeos/network/vpn_list_view.cc:141: tri_view_->SetBorder(views::CreateEmptyBorder( How much of this is going to live ...
4 years ago (2016-11-28 21:43:12 UTC) #29
varkha
https://codereview.chromium.org/2530763002/diff/100001/ash/common/system/chromeos/network/vpn_list_view.cc File ash/common/system/chromeos/network/vpn_list_view.cc (right): https://codereview.chromium.org/2530763002/diff/100001/ash/common/system/chromeos/network/vpn_list_view.cc#newcode141 ash/common/system/chromeos/network/vpn_list_view.cc:141: tri_view_->SetBorder(views::CreateEmptyBorder( On 2016/11/28 21:43:12, bruthig wrote: > How much ...
4 years ago (2016-11-28 22:48:25 UTC) #30
tdanderson
LGTM https://codereview.chromium.org/2530763002/diff/200001/chromeos/dbus/fake_shill_manager_client.cc File chromeos/dbus/fake_shill_manager_client.cc (right): https://codereview.chromium.org/2530763002/diff/200001/chromeos/dbus/fake_shill_manager_client.cc#newcode921 chromeos/dbus/fake_shill_manager_client.cc:921: services->AddService("/service/vpn3", "vpn3_guid", "vpn3" /* name */, Don't forget ...
4 years ago (2016-11-28 23:55:26 UTC) #35
varkha
https://codereview.chromium.org/2530763002/diff/200001/chromeos/dbus/fake_shill_manager_client.cc File chromeos/dbus/fake_shill_manager_client.cc (right): https://codereview.chromium.org/2530763002/diff/200001/chromeos/dbus/fake_shill_manager_client.cc#newcode921 chromeos/dbus/fake_shill_manager_client.cc:921: services->AddService("/service/vpn3", "vpn3_guid", "vpn3" /* name */, On 2016/11/28 23:55:26, ...
4 years ago (2016-11-29 00:15:37 UTC) #36
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/2530763002/220001
4 years ago (2016-11-29 00:16:11 UTC) #39
commit-bot: I haz the power
Committed patchset #9 (id:220001)
4 years ago (2016-11-29 02:11:46 UTC) #42
commit-bot: I haz the power
4 years ago (2016-11-29 02:20:34 UTC) #44
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/d66d5e2cd8ff8ae53f607dd85534d130b33048f4
Cr-Commit-Position: refs/heads/master@{#434832}

Powered by Google App Engine
This is Rietveld 408576698