OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_ |
6 #define CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_ | 6 #define CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 | 11 |
12 // System tray code shared between classic ash SystemTrayDelegateChromeos and | 12 // System tray code shared between classic ash SystemTrayDelegateChromeos and |
13 // mustash SystemTrayClient. | 13 // mustash SystemTrayClient. |
| 14 // TODO(jamescook): Move all implementations into SystemTrayClient. |
14 class SystemTrayCommon { | 15 class SystemTrayCommon { |
15 public: | 16 public: |
16 static const char kDisplaySettingsSubPageName[]; | 17 static const char kDisplaySettingsSubPageName[]; |
17 static const char kDisplayOverscanSettingsSubPageName[]; | 18 static const char kDisplayOverscanSettingsSubPageName[]; |
18 | 19 |
19 // Shows general settings UI. | 20 // Shows general settings UI. |
20 static void ShowSettings(); | 21 static void ShowSettings(); |
21 | 22 |
22 // Shows the settings related to date, timezone etc. | 23 // Shows the settings related to date, timezone etc. |
23 static void ShowDateSettings(); | 24 static void ShowDateSettings(); |
(...skipping 29 matching lines...) Expand all Loading... |
53 static void ShowPublicAccountInfo(); | 54 static void ShowPublicAccountInfo(); |
54 | 55 |
55 // Shows UI for changing proxy settings. | 56 // Shows UI for changing proxy settings. |
56 static void ShowProxySettings(); | 57 static void ShowProxySettings(); |
57 | 58 |
58 private: | 59 private: |
59 DISALLOW_IMPLICIT_CONSTRUCTORS(SystemTrayCommon); | 60 DISALLOW_IMPLICIT_CONSTRUCTORS(SystemTrayCommon); |
60 }; | 61 }; |
61 | 62 |
62 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_ | 63 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_ |
OLD | NEW |