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

Unified Diff: ash/common/system/chromeos/session/logout_button_tray.cc

Issue 2618383003: Remove the extra separator appears on the right side of the shelf (Closed)
Patch Set: update name Created 3 years, 11 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 | ash/common/system/tray/system_tray.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/chromeos/session/logout_button_tray.cc
diff --git a/ash/common/system/chromeos/session/logout_button_tray.cc b/ash/common/system/chromeos/session/logout_button_tray.cc
index e3cfc2e3b20c7e86c9077f7856605d5567cce2d9..d7723c425251818c38d4b32a7812388c7beefdf8 100644
--- a/ash/common/system/chromeos/session/logout_button_tray.cc
+++ b/ash/common/system/chromeos/session/logout_button_tray.cc
@@ -116,6 +116,10 @@ LogoutButtonTray::LogoutButtonTray(WmShelf* wm_shelf)
// crbug.com/623987
button->AdjustFontSize(2);
button_ = button;
+
+ // Since |logout_button_tray| has a red background and it is distinguished
+ // by itself, no separator is needed on its right side.
+ set_separator_visibility(false);
} else {
button_ = new LogoutButton(this);
}
« no previous file with comments | « no previous file | ash/common/system/tray/system_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698