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

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

Issue 2360143004: mash: Add SystemTrayClient interface, use to show date settings (Closed)
Patch Set: reparent 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 CONTENT_PUBLIC_RENDERER_GUEST_MODE_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_
6 #define CONTENT_PUBLIC_RENDERER_GUEST_MODE_H_ 6 #define CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "content/common/content_export.h"
10 9
11 namespace content { 10 // System tray code shared between classic ash SystemTrayDelegateChromeos and
12 11 // mustash SystemTrayClient.
13 class CONTENT_EXPORT GuestMode { 12 class SystemTrayCommon {
14 public: 13 public:
15 // Returns true if guests could be using cross process frames. 14 // Shows the settings related to date, timezone etc.
16 static bool UseCrossProcessFramesForGuests(); 15 static void ShowDateSettings();
17 16
18 private: 17 private:
19 GuestMode(); 18 DISALLOW_IMPLICIT_CONSTRUCTORS(SystemTrayCommon);
20
21 DISALLOW_COPY_AND_ASSIGN(GuestMode);
22 }; 19 };
23 20
24 } // namespace content 21 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_
25
26 #endif // CONTENT_PUBLIC_RENDERER_GUEST_MODE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/system_tray_client.cc ('k') | chrome/browser/ui/ash/system_tray_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698