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

Side by Side Diff: chrome/browser/ui/ash/session_state_delegate_views.h

Issue 1960293003: Remove OS_CHROMEOS from ui/ash code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_VIEWS_H_
6 #define CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_VIEWS_H_
7
8 #include "ash/session/session_state_delegate.h"
9 #include "base/compiler_specific.h"
10 #include "base/macros.h"
11 #include "base/observer_list.h"
12 #include "ui/gfx/image/image_skia.h"
13
14 namespace ash {
15 class SessionStateObserver;
16 } // namespace ash
17
18 class SessionStateDelegate : public ash::SessionStateDelegate {
19 public:
20 SessionStateDelegate();
21 ~SessionStateDelegate() override;
22
23 // ash::SessionStateDelegate:
24 int GetMaximumNumberOfLoggedInUsers() const override;
25 int NumberOfLoggedInUsers() const override;
26 bool IsActiveUserSessionStarted() const override;
27 bool CanLockScreen() const override;
28 bool IsScreenLocked() const override;
29 bool ShouldLockScreenBeforeSuspending() const override;
30 void LockScreen() override;
31 void UnlockScreen() override;
32 bool IsUserSessionBlocked() const override;
33 SessionState GetSessionState() const override;
34 const user_manager::UserInfo* GetUserInfo(
35 ash::UserIndex index) const override;
36 bool ShouldShowAvatar(aura::Window* window) const override;
37 gfx::ImageSkia GetAvatarImageForWindow(aura::Window* window) const override;
38 void SwitchActiveUser(const AccountId& account_id) override;
39 void CycleActiveUser(CycleUser cycle_user) override;
40 bool IsMultiProfileAllowedByPrimaryUserPolicy() const override;
41 void AddSessionStateObserver(ash::SessionStateObserver* observer) override;
42 void RemoveSessionStateObserver(ash::SessionStateObserver* observer) override;
43
44 private:
45 DISALLOW_COPY_AND_ASSIGN(SessionStateDelegate);
46 };
47
48 #endif // CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_VIEWS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/multi_user/multi_user_window_manager.cc ('k') | chrome/browser/ui/ash/session_state_delegate_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698