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

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

Issue 18850003: Focus kept on login screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
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 "ash/session_state_delegate.h" 8 #include "ash/session_state_delegate.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 11 matching lines...) Expand all
22 const std::string& get_activated_user() { return activated_user_; } 22 const std::string& get_activated_user() { return activated_user_; }
23 23
24 // SessionStateDelegate: 24 // SessionStateDelegate:
25 virtual int GetMaximumNumberOfLoggedInUsers() const OVERRIDE; 25 virtual int GetMaximumNumberOfLoggedInUsers() const OVERRIDE;
26 virtual int NumberOfLoggedInUsers() const OVERRIDE; 26 virtual int NumberOfLoggedInUsers() const OVERRIDE;
27 virtual bool IsActiveUserSessionStarted() const OVERRIDE; 27 virtual bool IsActiveUserSessionStarted() const OVERRIDE;
28 virtual bool CanLockScreen() const OVERRIDE; 28 virtual bool CanLockScreen() const OVERRIDE;
29 virtual bool IsScreenLocked() const OVERRIDE; 29 virtual bool IsScreenLocked() const OVERRIDE;
30 virtual void LockScreen() OVERRIDE; 30 virtual void LockScreen() OVERRIDE;
31 virtual void UnlockScreen() OVERRIDE; 31 virtual void UnlockScreen() OVERRIDE;
32 virtual bool IsUserSessionBlocked() const OVERRIDE;
32 virtual const base::string16 GetUserDisplayName( 33 virtual const base::string16 GetUserDisplayName(
33 ash::MultiProfileIndex index) const OVERRIDE; 34 ash::MultiProfileIndex index) const OVERRIDE;
34 virtual const std::string GetUserEmail( 35 virtual const std::string GetUserEmail(
35 ash::MultiProfileIndex index) const OVERRIDE; 36 ash::MultiProfileIndex index) const OVERRIDE;
36 virtual const gfx::ImageSkia& GetUserImage( 37 virtual const gfx::ImageSkia& GetUserImage(
37 ash::MultiProfileIndex index) const OVERRIDE; 38 ash::MultiProfileIndex index) const OVERRIDE;
38 virtual void GetLoggedInUsers(UserIdList* users) OVERRIDE; 39 virtual void GetLoggedInUsers(UserIdList* users) OVERRIDE;
39 virtual void SwitchActiveUser(const std::string& email) OVERRIDE; 40 virtual void SwitchActiveUser(const std::string& email) OVERRIDE;
40 virtual void AddSessionStateObserver( 41 virtual void AddSessionStateObserver(
41 ash::SessionStateObserver* observer) OVERRIDE; 42 ash::SessionStateObserver* observer) OVERRIDE;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // A test user image. 87 // A test user image.
87 gfx::ImageSkia null_image_; 88 gfx::ImageSkia null_image_;
88 89
89 DISALLOW_COPY_AND_ASSIGN(TestSessionStateDelegate); 90 DISALLOW_COPY_AND_ASSIGN(TestSessionStateDelegate);
90 }; 91 };
91 92
92 } // namespace test 93 } // namespace test
93 } // namespace ash 94 } // namespace ash
94 95
95 #endif // ASH_TEST_TEST_SESSION_STATE_DELEGATE_H_ 96 #endif // ASH_TEST_TEST_SESSION_STATE_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698