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

Side by Side Diff: chrome/browser/ui/ash/system_tray_common.h

Issue 2395523002: chromeos: Refactor system tray "show settings" commands to use mojo (Closed)
Patch Set: Created 4 years, 2 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 2016 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 CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_
6 #define CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_
7
8 #include <string>
9
10 #include "base/macros.h"
11
12 // System tray code shared between classic ash SystemTrayDelegateChromeos and
13 // mustash SystemTrayClient.
14 // TODO(jamescook): Move all implementations into SystemTrayClient.
15 class SystemTrayCommon {
16 public:
17 static const char kDisplaySettingsSubPageName[];
18 static const char kDisplayOverscanSettingsSubPageName[];
19
20 // Shows general settings UI.
21 static void ShowSettings();
22
23 // Shows the settings related to date, timezone etc.
24 static void ShowDateSettings();
25
26 // Shows settings related to multiple displays.
27 static void ShowDisplaySettings();
28
29 // Shows settings related to power.
30 static void ShowPowerSettings();
31
32 // Shows the page that lets you disable performance tracing.
33 static void ShowChromeSlow();
34
35 // Shows settings related to input methods.
36 static void ShowIMESettings();
37
38 // Shows help.
39 static void ShowHelp();
40
41 // Show accessibility help.
42 static void ShowAccessibilityHelp();
43
44 // Show the settings related to accessibility.
45 static void ShowAccessibilitySettings();
46
47 // Shows the help center article for the stylus tool palette.
48 static void ShowPaletteHelp();
49
50 // Shows the settings related to the stylus tool palette.
51 static void ShowPaletteSettings();
52
53 // Shows information about public account mode.
54 static void ShowPublicAccountInfo();
55
56 // Shows UI for changing proxy settings.
57 static void ShowProxySettings();
58
59 private:
60 DISALLOW_IMPLICIT_CONSTRUCTORS(SystemTrayCommon);
61 };
62
63 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698