| 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 class SystemTrayCommon { | 14 class SystemTrayCommon { |
| 15 public: | 15 public: |
| 16 static const char kDisplaySettingsSubPageName[]; | 16 static const char kDisplaySettingsSubPageName[]; |
| 17 static const char kDisplayOverscanSettingsSubPageName[]; | 17 static const char kDisplayOverscanSettingsSubPageName[]; |
| 18 | 18 |
| 19 // Shows general settings UI. | 19 // Shows general settings UI. |
| 20 static void ShowSettings(); | 20 static void ShowSettings(); |
| 21 | 21 |
| 22 // Shows the settings related to date, timezone etc. | 22 // Shows the settings related to date, timezone etc. |
| 23 static void ShowDateSettings(); | 23 static void ShowDateSettings(); |
| 24 | 24 |
| 25 // Shows settings related to multiple displays. | 25 // Shows settings related to multiple displays. |
| 26 static void ShowDisplaySettings(); | 26 static void ShowDisplaySettings(); |
| 27 | 27 |
| 28 // Shows settings related to power. |
| 29 static void ShowPowerSettings(); |
| 30 |
| 28 // Shows the page that lets you disable performance tracing. | 31 // Shows the page that lets you disable performance tracing. |
| 29 static void ShowChromeSlow(); | 32 static void ShowChromeSlow(); |
| 30 | 33 |
| 31 // Shows settings related to input methods. | 34 // Shows settings related to input methods. |
| 32 static void ShowIMESettings(); | 35 static void ShowIMESettings(); |
| 33 | 36 |
| 34 // Shows help. | 37 // Shows help. |
| 35 static void ShowHelp(); | 38 static void ShowHelp(); |
| 36 | 39 |
| 37 // Show accessibility help. | 40 // Show accessibility help. |
| (...skipping 12 matching lines...) Expand all Loading... |
| 50 static void ShowPublicAccountInfo(); | 53 static void ShowPublicAccountInfo(); |
| 51 | 54 |
| 52 // Shows UI for changing proxy settings. | 55 // Shows UI for changing proxy settings. |
| 53 static void ShowProxySettings(); | 56 static void ShowProxySettings(); |
| 54 | 57 |
| 55 private: | 58 private: |
| 56 DISALLOW_IMPLICIT_CONSTRUCTORS(SystemTrayCommon); | 59 DISALLOW_IMPLICIT_CONSTRUCTORS(SystemTrayCommon); |
| 57 }; | 60 }; |
| 58 | 61 |
| 59 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_ | 62 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_ |
| OLD | NEW |