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

Unified Diff: ash/common/system/overview/overview_button_tray.cc

Issue 2702583002: Remove the extra separator appears beside overview tray (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/overview/overview_button_tray.cc
diff --git a/ash/common/system/overview/overview_button_tray.cc b/ash/common/system/overview/overview_button_tray.cc
index 4bd5aadfc1498c4b4ca1f3de65ed91a1f4d23046..6cece3736aa1f35d9b51811e5117f66ee1f20614 100644
--- a/ash/common/system/overview/overview_button_tray.cc
+++ b/ash/common/system/overview/overview_button_tray.cc
@@ -56,6 +56,10 @@ OverviewButtonTray::OverviewButtonTray(WmShelf* wm_shelf)
SetIconBorderForShelfAlignment();
tray_container()->AddChildView(icon_);
+ // Since |overview_button_tray| locates on the right most position, no
+ // separator is required on its right side.
tdanderson 2017/02/16 20:25:03 How about something like "Since OverviewButtonTray
yiyix 2017/02/16 20:43:43 I have update all comments. Could you check it aga
+ set_separator_visibility(false);
+
WmShell::Get()->AddShellObserver(this);
WmShell::Get()->GetSessionStateDelegate()->AddSessionStateObserver(this);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698