| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_COMMON_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_ | 5 #ifndef ASH_COMMON_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_ |
| 6 #define ASH_COMMON_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_ | 6 #define ASH_COMMON_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "ash/common/system/tray/default_system_tray_delegate.h" | 8 #include "ash/common/system/tray/default_system_tray_delegate.h" |
| 9 #include "ash/common/system/tray/ime_info.h" | 9 #include "ash/common/system/tray/ime_info.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 | 42 |
| 43 // Sets the list of available IMEs. | 43 // Sets the list of available IMEs. |
| 44 void SetAvailableIMEList(const IMEInfoList& list); | 44 void SetAvailableIMEList(const IMEInfoList& list); |
| 45 | 45 |
| 46 // Overridden from SystemTrayDelegate: | 46 // Overridden from SystemTrayDelegate: |
| 47 LoginStatus GetUserLoginStatus() const override; | 47 LoginStatus GetUserLoginStatus() const override; |
| 48 bool IsUserSupervised() const override; | 48 bool IsUserSupervised() const override; |
| 49 void GetSystemUpdateInfo(UpdateInfo* info) const override; | 49 void GetSystemUpdateInfo(UpdateInfo* info) const override; |
| 50 bool GetSessionStartTime(base::TimeTicks* session_start_time) override; | 50 bool GetSessionStartTime(base::TimeTicks* session_start_time) override; |
| 51 bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) override; | 51 bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) override; |
| 52 void SignOut() override; | |
| 53 void GetCurrentIME(IMEInfo* info) override; | 52 void GetCurrentIME(IMEInfo* info) override; |
| 54 void GetAvailableIMEList(IMEInfoList* list) override; | 53 void GetAvailableIMEList(IMEInfoList* list) override; |
| 55 | 54 |
| 56 private: | 55 private: |
| 57 LoginStatus login_status_; | 56 LoginStatus login_status_; |
| 58 base::TimeDelta session_length_limit_; | 57 base::TimeDelta session_length_limit_; |
| 59 bool session_length_limit_set_; | 58 bool session_length_limit_set_; |
| 60 IMEInfo current_ime_; | 59 IMEInfo current_ime_; |
| 61 IMEInfoList ime_list_; | 60 IMEInfoList ime_list_; |
| 62 | 61 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 74 private: | 73 private: |
| 75 LoginStatus old_status_; | 74 LoginStatus old_status_; |
| 76 | 75 |
| 77 DISALLOW_COPY_AND_ASSIGN(ScopedInitialLoginStatus); | 76 DISALLOW_COPY_AND_ASSIGN(ScopedInitialLoginStatus); |
| 78 }; | 77 }; |
| 79 | 78 |
| 80 } // namespace test | 79 } // namespace test |
| 81 } // namespace ash | 80 } // namespace ash |
| 82 | 81 |
| 83 #endif // ASH_COMMON_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_ | 82 #endif // ASH_COMMON_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_ |
| OLD | NEW |