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

Side by Side Diff: ash/test/test_system_tray_delegate.h

Issue 2217713002: Remove the system menu display settings row (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge 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
« no previous file with comments | « ash/test/ash_test_base.cc ('k') | ash/test/test_system_tray_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_ 5 #ifndef ASH_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_
6 #define ASH_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_ 6 #define ASH_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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 void SetAvailableIMEList(const IMEInfoList& list); 55 void SetAvailableIMEList(const IMEInfoList& list);
56 56
57 // Overridden from SystemTrayDelegate: 57 // Overridden from SystemTrayDelegate:
58 LoginStatus GetUserLoginStatus() const override; 58 LoginStatus GetUserLoginStatus() const override;
59 bool IsUserSupervised() const override; 59 bool IsUserSupervised() const override;
60 void GetSystemUpdateInfo(UpdateInfo* info) const override; 60 void GetSystemUpdateInfo(UpdateInfo* info) const override;
61 bool ShouldShowDisplayNotification() override; 61 bool ShouldShowDisplayNotification() override;
62 bool GetSessionStartTime(base::TimeTicks* session_start_time) override; 62 bool GetSessionStartTime(base::TimeTicks* session_start_time) override;
63 bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) override; 63 bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) override;
64 void SignOut() override; 64 void SignOut() override;
65 std::unique_ptr<SystemTrayItem> CreateDisplayTrayItem(
66 SystemTray* tray) override;
67 std::unique_ptr<SystemTrayItem> CreateRotationLockTrayItem( 65 std::unique_ptr<SystemTrayItem> CreateRotationLockTrayItem(
68 SystemTray* tray) override; 66 SystemTray* tray) override;
69 void GetCurrentIME(IMEInfo* info) override; 67 void GetCurrentIME(IMEInfo* info) override;
70 void GetAvailableIMEList(IMEInfoList* list) override; 68 void GetAvailableIMEList(IMEInfoList* list) override;
71 69
72 private: 70 private:
73 bool should_show_display_notification_; 71 bool should_show_display_notification_;
74 LoginStatus login_status_; 72 LoginStatus login_status_;
75 base::TimeDelta session_length_limit_; 73 base::TimeDelta session_length_limit_;
76 bool session_length_limit_set_; 74 bool session_length_limit_set_;
77 IMEInfo current_ime_; 75 IMEInfo current_ime_;
78 IMEInfoList ime_list_; 76 IMEInfoList ime_list_;
79 77
80 DISALLOW_COPY_AND_ASSIGN(TestSystemTrayDelegate); 78 DISALLOW_COPY_AND_ASSIGN(TestSystemTrayDelegate);
81 }; 79 };
82 80
83 } // namespace test 81 } // namespace test
84 } // namespace ash 82 } // namespace ash
85 83
86 #endif // ASH_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_ 84 #endif // ASH_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/test/ash_test_base.cc ('k') | ash/test/test_system_tray_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698