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

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: 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 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_WEBUI_CAST_CAST_UI_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_
6 #define CHROME_BROWSER_UI_WEBUI_CAST_CAST_UI_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 "base/values.h"
10 #include "content/public/browser/web_ui_controller.h"
11 9
12 // The WebUI for chrome://cast 10 // System tray code shared between classic ash SystemTrayDelegateChromeos and
13 class CastUI : public content::WebUIController { 11 // mustash SystemTrayClient.
12 class SystemTrayCommon {
James Cook 2016/09/22 23:19:18 This is a class and not a namespace because I anti
14 public: 13 public:
15 explicit CastUI(content::WebUI* web_ui); 14 // Shows the settings related to date, timezone etc.
16 ~CastUI() override; 15 static void ShowDateSettings();
16
17 private: 17 private:
18 DISALLOW_COPY_AND_ASSIGN(CastUI); 18 DISALLOW_IMPLICIT_CONSTRUCTORS(SystemTrayCommon);
19 }; 19 };
20 20
21 #endif // CHROME_BROWSER_UI_WEBUI_CAST_CAST_UI_H_ 21 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_COMMON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698