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

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

Issue 2042333002: mash: Migrate SessionStateDelegate interface to wm common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove semicolon Created 4 years, 6 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/sysui/shell_delegate_mus.cc ('k') | ash/test/test_session_state_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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_SESSION_STATE_DELEGATE_H_ 5 #ifndef ASH_TEST_TEST_SESSION_STATE_DELEGATE_H_
6 #define ASH_TEST_TEST_SESSION_STATE_DELEGATE_H_ 6 #define ASH_TEST_TEST_SESSION_STATE_DELEGATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 27 matching lines...) Expand all
38 bool IsActiveUserSessionStarted() const override; 38 bool IsActiveUserSessionStarted() const override;
39 bool CanLockScreen() const override; 39 bool CanLockScreen() const override;
40 bool IsScreenLocked() const override; 40 bool IsScreenLocked() const override;
41 bool ShouldLockScreenBeforeSuspending() const override; 41 bool ShouldLockScreenBeforeSuspending() const override;
42 void LockScreen() override; 42 void LockScreen() override;
43 void UnlockScreen() override; 43 void UnlockScreen() override;
44 bool IsUserSessionBlocked() const override; 44 bool IsUserSessionBlocked() const override;
45 SessionState GetSessionState() const override; 45 SessionState GetSessionState() const override;
46 const user_manager::UserInfo* GetUserInfo( 46 const user_manager::UserInfo* GetUserInfo(
47 ash::UserIndex index) const override; 47 ash::UserIndex index) const override;
48 bool ShouldShowAvatar(aura::Window* window) const override; 48 bool ShouldShowAvatar(WmWindow* window) const override;
49 gfx::ImageSkia GetAvatarImageForWindow(aura::Window* window) const override; 49 gfx::ImageSkia GetAvatarImageForWindow(WmWindow* window) const override;
50 void SwitchActiveUser(const AccountId& account_id) override; 50 void SwitchActiveUser(const AccountId& account_id) override;
51 void CycleActiveUser(CycleUser cycle_user) override; 51 void CycleActiveUser(CycleUser cycle_user) override;
52 bool IsMultiProfileAllowedByPrimaryUserPolicy() const override; 52 bool IsMultiProfileAllowedByPrimaryUserPolicy() const override;
53 void AddSessionStateObserver(ash::SessionStateObserver* observer) override; 53 void AddSessionStateObserver(ash::SessionStateObserver* observer) override;
54 void RemoveSessionStateObserver(ash::SessionStateObserver* observer) override; 54 void RemoveSessionStateObserver(ash::SessionStateObserver* observer) override;
55 55
56 // TODO(oshima): Use state machine instead of using boolean variables. 56 // TODO(oshima): Use state machine instead of using boolean variables.
57 57
58 // Updates the internal state that indicates whether a session is in progress 58 // Updates the internal state that indicates whether a session is in progress
59 // and there is an active user. If |has_active_user| is |false|, 59 // and there is an active user. If |has_active_user| is |false|,
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 // before the profile and browser UI are available. 113 // before the profile and browser UI are available.
114 SessionState session_state_; 114 SessionState session_state_;
115 115
116 DISALLOW_COPY_AND_ASSIGN(TestSessionStateDelegate); 116 DISALLOW_COPY_AND_ASSIGN(TestSessionStateDelegate);
117 }; 117 };
118 118
119 } // namespace test 119 } // namespace test
120 } // namespace ash 120 } // namespace ash
121 121
122 #endif // ASH_TEST_TEST_SESSION_STATE_DELEGATE_H_ 122 #endif // ASH_TEST_TEST_SESSION_STATE_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/sysui/shell_delegate_mus.cc ('k') | ash/test/test_session_state_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698