Switch global error menu icon to vectorized MD asset
[chromium-blink-merge.git] / ash / system / chromeos / settings / tray_settings.h
blob37ece4c72a1da537cf7253a2072c4b57c5d21582
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ASH_SYSTEM_CHROMEOS_SETTINGS_TRAY_SETTINGS_H_
6 #define ASH_SYSTEM_CHROMEOS_SETTINGS_TRAY_SETTINGS_H_
8 #include "ash/system/tray/system_tray_item.h"
10 namespace ash {
11 namespace tray {
12 class SettingsDefaultView;
15 class TraySettings : public SystemTrayItem {
16 public:
17 explicit TraySettings(SystemTray* system_tray);
18 ~TraySettings() override;
20 private:
21 // Overridden from SystemTrayItem
22 views::View* CreateTrayView(user::LoginStatus status) override;
23 views::View* CreateDefaultView(user::LoginStatus status) override;
24 views::View* CreateDetailedView(user::LoginStatus status) override;
25 void DestroyTrayView() override;
26 void DestroyDefaultView() override;
27 void DestroyDetailedView() override;
28 void UpdateAfterLoginStatusChange(user::LoginStatus status) override;
30 tray::SettingsDefaultView* default_view_;
32 DISALLOW_COPY_AND_ASSIGN(TraySettings);
35 } // namespace ash
37 #endif // ASH_SYSTEM_CHROMEOS_SETTINGS_TRAY_SETTINGS_H_