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

Unified Diff: chrome/browser/ui/ash/system_tray_common.h

Issue 2360143004: mash: Add SystemTrayClient interface, use to show date settings (Closed)
Patch Set: tweaks, similarity 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
Index: chrome/browser/ui/ash/system_tray_common.h
diff --git a/chrome/browser/ui/webui/cast/cast_ui.h b/chrome/browser/ui/ash/system_tray_common.h
similarity index 33%
copy from chrome/browser/ui/webui/cast/cast_ui.h
copy to chrome/browser/ui/ash/system_tray_common.h
index 2cae6ddb4761b92156792bc4cae96211ff8307f2..1caffc87536911893cbb7c9b77b40e6460544f1e 100644
--- a/chrome/browser/ui/webui/cast/cast_ui.h
+++ b/chrome/browser/ui/ash/system_tray_common.h
@@ -2,20 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_UI_WEBUI_CAST_CAST_UI_H_
-#define CHROME_BROWSER_UI_WEBUI_CAST_CAST_UI_H_
+#ifndef CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_
+#define CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_
#include "base/macros.h"
-#include "base/values.h"
-#include "content/public/browser/web_ui_controller.h"
-// The WebUI for chrome://cast
-class CastUI : public content::WebUIController {
+// System tray code shared between classic ash SystemTrayDelegateChromeos and
+// mustash SystemTrayClient.
+class SystemTrayCommon {
James Cook 2016/09/22 23:19:18 This is a class and not a namespace because I anti
public:
- explicit CastUI(content::WebUI* web_ui);
- ~CastUI() override;
+ // Shows the settings related to date, timezone etc.
+ static void ShowDateSettings();
+
private:
- DISALLOW_COPY_AND_ASSIGN(CastUI);
+ DISALLOW_IMPLICIT_CONSTRUCTORS(SystemTrayCommon);
};
-#endif // CHROME_BROWSER_UI_WEBUI_CAST_CAST_UI_H_
+#endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_

Powered by Google App Engine
This is Rietveld 408576698