Chromium Code Reviews| OLD | NEW |
|---|---|
| 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_ |
| OLD | NEW |