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

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

Issue 2381753002: Use mojo SystemTray interfaces for both mash and classic ash (Closed)
Patch Set: cleanup 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> 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: all this code moves directly in SystemTrayClient. Less indirection.
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 static void ShowDateSettings();
24
25 // Shows settings related to multiple displays. 23 // Shows settings related to multiple displays.
26 static void ShowDisplaySettings(); 24 static void ShowDisplaySettings();
27 25
28 // Shows the page that lets you disable performance tracing. 26 // Shows the page that lets you disable performance tracing.
29 static void ShowChromeSlow(); 27 static void ShowChromeSlow();
30 28
31 // Shows settings related to input methods. 29 // Shows settings related to input methods.
32 static void ShowIMESettings(); 30 static void ShowIMESettings();
33 31
34 // Shows help. 32 // Shows help.
(...skipping 15 matching lines...) Expand all
50 static void ShowPublicAccountInfo(); 48 static void ShowPublicAccountInfo();
51 49
52 // Shows UI for changing proxy settings. 50 // Shows UI for changing proxy settings.
53 static void ShowProxySettings(); 51 static void ShowProxySettings();
54 52
55 private: 53 private:
56 DISALLOW_IMPLICIT_CONSTRUCTORS(SystemTrayCommon); 54 DISALLOW_IMPLICIT_CONSTRUCTORS(SystemTrayCommon);
57 }; 55 };
58 56
59 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_ 57 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698