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

Unified 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, 3 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/system_tray_common.h
diff --git a/content/public/renderer/guest_mode.h b/chrome/browser/ui/ash/system_tray_common.h
similarity index 33%
copy from content/public/renderer/guest_mode.h
copy to chrome/browser/ui/ash/system_tray_common.h
index 6b28f84122ff028a3f40496699032cabae9eed7b..1caffc87536911893cbb7c9b77b40e6460544f1e 100644
--- a/content/public/renderer/guest_mode.h
+++ b/chrome/browser/ui/ash/system_tray_common.h
@@ -2,25 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_PUBLIC_RENDERER_GUEST_MODE_H_
-#define CONTENT_PUBLIC_RENDERER_GUEST_MODE_H_
+#ifndef CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_
+#define CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_
#include "base/macros.h"
-#include "content/common/content_export.h"
-namespace content {
-
-class CONTENT_EXPORT GuestMode {
+// System tray code shared between classic ash SystemTrayDelegateChromeos and
+// mustash SystemTrayClient.
+class SystemTrayCommon {
public:
- // Returns true if guests could be using cross process frames.
- static bool UseCrossProcessFramesForGuests();
+ // Shows the settings related to date, timezone etc.
+ static void ShowDateSettings();
private:
- GuestMode();
-
- DISALLOW_COPY_AND_ASSIGN(GuestMode);
+ DISALLOW_IMPLICIT_CONSTRUCTORS(SystemTrayCommon);
};
-} // namespace content
-
-#endif // CONTENT_PUBLIC_RENDERER_GUEST_MODE_H_
+#endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_
« 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