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

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

Issue 1540753002: Switch to standard integer types in ash/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: arraysize Created 5 years 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_SYSTEM_CHROMEOS_SETTINGS_TRAY_SETTINGS_H_ 5 #ifndef ASH_SYSTEM_CHROMEOS_SETTINGS_TRAY_SETTINGS_H_
6 #define ASH_SYSTEM_CHROMEOS_SETTINGS_TRAY_SETTINGS_H_ 6 #define ASH_SYSTEM_CHROMEOS_SETTINGS_TRAY_SETTINGS_H_
7 7
8 #include "ash/system/tray/system_tray_item.h" 8 #include "ash/system/tray/system_tray_item.h"
9 #include "base/macros.h"
9 10
10 namespace ash { 11 namespace ash {
11 namespace tray { 12 namespace tray {
12 class SettingsDefaultView; 13 class SettingsDefaultView;
13 } 14 }
14 15
15 class TraySettings : public SystemTrayItem { 16 class TraySettings : public SystemTrayItem {
16 public: 17 public:
17 explicit TraySettings(SystemTray* system_tray); 18 explicit TraySettings(SystemTray* system_tray);
18 ~TraySettings() override; 19 ~TraySettings() override;
19 20
20 private: 21 private:
21 // Overridden from SystemTrayItem 22 // Overridden from SystemTrayItem
22 views::View* CreateTrayView(user::LoginStatus status) override; 23 views::View* CreateTrayView(user::LoginStatus status) override;
23 views::View* CreateDefaultView(user::LoginStatus status) override; 24 views::View* CreateDefaultView(user::LoginStatus status) override;
24 views::View* CreateDetailedView(user::LoginStatus status) override; 25 views::View* CreateDetailedView(user::LoginStatus status) override;
25 void DestroyTrayView() override; 26 void DestroyTrayView() override;
26 void DestroyDefaultView() override; 27 void DestroyDefaultView() override;
27 void DestroyDetailedView() override; 28 void DestroyDetailedView() override;
28 void UpdateAfterLoginStatusChange(user::LoginStatus status) override; 29 void UpdateAfterLoginStatusChange(user::LoginStatus status) override;
29 30
30 tray::SettingsDefaultView* default_view_; 31 tray::SettingsDefaultView* default_view_;
31 32
32 DISALLOW_COPY_AND_ASSIGN(TraySettings); 33 DISALLOW_COPY_AND_ASSIGN(TraySettings);
33 }; 34 };
34 35
35 } // namespace ash 36 } // namespace ash
36 37
37 #endif // ASH_SYSTEM_CHROMEOS_SETTINGS_TRAY_SETTINGS_H_ 38 #endif // ASH_SYSTEM_CHROMEOS_SETTINGS_TRAY_SETTINGS_H_
OLDNEW
« no previous file with comments | « ash/system/chromeos/session/tray_session_length_limit.h ('k') | ash/system/chromeos/supervised/tray_supervised_user.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698