Tetsui Ohkubo | da3076c | 2018-06-15 05:48:10 | [diff] [blame] | 1 | // Copyright 2018 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef ASH_SYSTEM_UNIFIED_UNIFIED_NOTIFIER_SETTINGS_CONTROLLER_H_ |
| 6 | #define ASH_SYSTEM_UNIFIED_UNIFIED_NOTIFIER_SETTINGS_CONTROLLER_H_ |
| 7 | |
| 8 | #include <memory> |
| 9 | |
| 10 | #include "ash/system/unified/detailed_view_controller.h" |
| 11 | #include "base/macros.h" |
| 12 | |
| 13 | namespace ash { |
| 14 | |
| 15 | class DetailedViewDelegate; |
| 16 | class UnifiedSystemTrayController; |
| 17 | |
| 18 | // Controller of notifier settings detailed view in UnifiedSystemTray. |
| 19 | class UnifiedNotifierSettingsController : public DetailedViewController { |
| 20 | public: |
| 21 | explicit UnifiedNotifierSettingsController( |
| 22 | UnifiedSystemTrayController* tray_controller); |
| 23 | ~UnifiedNotifierSettingsController() override; |
| 24 | |
| 25 | // DetailedViewControllerBase: |
| 26 | views::View* CreateView() override; |
Jan Wilken Dörrie | 85285b0 | 2021-03-11 23:38:47 | [diff] [blame^] | 27 | std::u16string GetAccessibleName() const override; |
Tetsui Ohkubo | da3076c | 2018-06-15 05:48:10 | [diff] [blame] | 28 | |
| 29 | private: |
| 30 | const std::unique_ptr<DetailedViewDelegate> detailed_view_delegate_; |
| 31 | |
| 32 | DISALLOW_COPY_AND_ASSIGN(UnifiedNotifierSettingsController); |
| 33 | }; |
| 34 | |
| 35 | } // namespace ash |
| 36 | |
| 37 | #endif // ASH_SYSTEM_UNIFIED_UNIFIED_NOTIFIER_SETTINGS_CONTROLLER_H_ |