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

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

Issue 2147143002: [Chrome OS MD] Draw a 1px separator between 2 tray items (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 years, 4 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
Index: ash/common/system/chromeos/session/logout_button_tray.h
diff --git a/ash/common/system/chromeos/session/logout_button_tray.h b/ash/common/system/chromeos/session/logout_button_tray.h
index abf5041435edf2d39998faa2eac3c39c6c58f366..9a47d871fcf6d3c94d8081987833258c3be1a0f9 100644
--- a/ash/common/system/chromeos/session/logout_button_tray.h
+++ b/ash/common/system/chromeos/session/logout_button_tray.h
@@ -18,6 +18,8 @@ class LabelButton;
}
namespace ash {
+class ViewObserver;
James Cook 2016/08/09 00:25:17 not needed
yiyix 2016/08/11 01:23:18 Done.
+class WmShelfObserver;
// Adds a logout button to the launcher's status area if enabled by the
// kShowLogoutButtonInTray pref.
@@ -25,7 +27,8 @@ class ASH_EXPORT LogoutButtonTray : public TrayBackgroundView,
public LogoutButtonObserver,
public views::ButtonListener {
public:
- explicit LogoutButtonTray(WmShelf* wm_shelf);
+ explicit LogoutButtonTray(WmShelf* wm_shelf,
varkha 2016/08/10 23:27:24 nit: no need for explicit.
yiyix 2016/08/11 01:23:18 After changing the observer, there will be only 1
+ WmShelfObserver* wm_shelf_observer);
~LogoutButtonTray() override;
// TrayBackgroundView:

Powered by Google App Engine
This is Rietveld 408576698