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

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

Issue 2373863002: mustash: Connect ash system tray "show settings" items to chrome over 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
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>
9
8 #include "base/macros.h" 10 #include "base/macros.h"
9 11
10 // System tray code shared between classic ash SystemTrayDelegateChromeos and 12 // System tray code shared between classic ash SystemTrayDelegateChromeos and
11 // mustash SystemTrayClient. 13 // mustash SystemTrayClient.
12 class SystemTrayCommon { 14 class SystemTrayCommon {
James Cook 2016/09/27 19:46:15 While all the methods in this class are static rig
msw 2016/09/27 20:14:34 Acknowledged.
13 public: 15 public:
16 static const char kDisplaySettingsSubPageName[];
17 static const char kDisplayOverscanSettingsSubPageName[];
18
19 // Shows general settings UI.
20 static void ShowSettings();
21
14 // Shows the settings related to date, timezone etc. 22 // Shows the settings related to date, timezone etc.
15 static void ShowDateSettings(); 23 static void ShowDateSettings();
16 24
25 // Shows settings related to multiple displays.
26 static void ShowDisplaySettings();
27
28 // Shows the page that lets you disable performance tracing.
29 static void ShowChromeSlow();
30
31 // Shows settings related to input methods.
32 static void ShowIMESettings();
33
34 // Shows help.
35 static void ShowHelp();
36
37 // Show accessibility help.
38 static void ShowAccessibilityHelp();
39
40 // Show the settings related to accessibility.
41 static void ShowAccessibilitySettings();
42
43 // Shows the help center article for the stylus tool palette.
44 static void ShowPaletteHelp();
45
46 // Shows the settings related to the stylus tool palette.
47 static void ShowPaletteSettings();
48
49 // Shows information about public account mode.
50 static void ShowPublicAccountInfo();
51
52 // Shows UI for changing proxy settings.
53 static void ShowProxySettings();
54
17 private: 55 private:
18 DISALLOW_IMPLICIT_CONSTRUCTORS(SystemTrayCommon); 56 DISALLOW_IMPLICIT_CONSTRUCTORS(SystemTrayCommon);
19 }; 57 };
20 58
21 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_ 59 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698