| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 5 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| 6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 | 158 |
| 159 // Shows settings. | 159 // Shows settings. |
| 160 virtual void ShowSettings() = 0; | 160 virtual void ShowSettings() = 0; |
| 161 | 161 |
| 162 // Returns true if settings menu item should appear. | 162 // Returns true if settings menu item should appear. |
| 163 virtual bool ShouldShowSettings() = 0; | 163 virtual bool ShouldShowSettings() = 0; |
| 164 | 164 |
| 165 // Shows the settings related to date, timezone etc. | 165 // Shows the settings related to date, timezone etc. |
| 166 virtual void ShowDateSettings() = 0; | 166 virtual void ShowDateSettings() = 0; |
| 167 | 167 |
| 168 // Shows the dialog to set system time, date, and timezone. |
| 169 virtual void ShowSetTimeDialog() = 0; |
| 170 |
| 168 // Shows the settings related to network. If |service_path| is not empty, | 171 // Shows the settings related to network. If |service_path| is not empty, |
| 169 // show the settings for that network. | 172 // show the settings for that network. |
| 170 virtual void ShowNetworkSettings(const std::string& service_path) = 0; | 173 virtual void ShowNetworkSettings(const std::string& service_path) = 0; |
| 171 | 174 |
| 172 // Shows the settings related to bluetooth. | 175 // Shows the settings related to bluetooth. |
| 173 virtual void ShowBluetoothSettings() = 0; | 176 virtual void ShowBluetoothSettings() = 0; |
| 174 | 177 |
| 175 // Shows settings related to multiple displays. | 178 // Shows settings related to multiple displays. |
| 176 virtual void ShowDisplaySettings() = 0; | 179 virtual void ShowDisplaySettings() = 0; |
| 177 | 180 |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 virtual bool IsSearchKeyMappedToCapsLock() = 0; | 341 virtual bool IsSearchKeyMappedToCapsLock() = 0; |
| 339 | 342 |
| 340 // Returns accounts delegate for given user. | 343 // Returns accounts delegate for given user. |
| 341 virtual tray::UserAccountsDelegate* GetUserAccountsDelegate( | 344 virtual tray::UserAccountsDelegate* GetUserAccountsDelegate( |
| 342 const std::string& user_id) = 0; | 345 const std::string& user_id) = 0; |
| 343 }; | 346 }; |
| 344 | 347 |
| 345 } // namespace ash | 348 } // namespace ash |
| 346 | 349 |
| 347 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 350 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| OLD | NEW |