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

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: rebase again 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(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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/system_tray_client.cc ('k') | chrome/browser/ui/ash/system_tray_delegate_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698