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

Side by Side Diff: ash/system/chromeos/settings/tray_settings.h

Issue 2072013002: mash: Move tray settings and deps to common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Undo 'git cl format' and nullptr changes. Created 4 years, 6 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 unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #ifndef ASH_SYSTEM_CHROMEOS_SETTINGS_TRAY_SETTINGS_H_
6 #define ASH_SYSTEM_CHROMEOS_SETTINGS_TRAY_SETTINGS_H_
7
8 #include "ash/common/system/tray/system_tray_item.h"
9 #include "base/macros.h"
10
11 namespace ash {
12 namespace tray {
13 class SettingsDefaultView;
14 }
15
16 class TraySettings : public SystemTrayItem {
17 public:
18 explicit TraySettings(SystemTray* system_tray);
19 ~TraySettings() override;
20
21 private:
22 // Overridden from SystemTrayItem
23 views::View* CreateTrayView(LoginStatus status) override;
24 views::View* CreateDefaultView(LoginStatus status) override;
25 views::View* CreateDetailedView(LoginStatus status) override;
26 void DestroyTrayView() override;
27 void DestroyDefaultView() override;
28 void DestroyDetailedView() override;
29 void UpdateAfterLoginStatusChange(LoginStatus status) override;
30
31 tray::SettingsDefaultView* default_view_;
32
33 DISALLOW_COPY_AND_ASSIGN(TraySettings);
34 };
35
36 } // namespace ash
37
38 #endif // ASH_SYSTEM_CHROMEOS_SETTINGS_TRAY_SETTINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698