Chromium Code Reviews| 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: |