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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/ash/session_state_delegate_views.h
diff --git a/chrome/browser/ui/ash/session_state_delegate_views.h b/chrome/browser/ui/ash/session_state_delegate_views.h
deleted file mode 100644
index cb6944f851a64be031dd4cc0c92a6af1b6746e76..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/ash/session_state_delegate_views.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_VIEWS_H_
-#define CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_VIEWS_H_
-
-#include "ash/session/session_state_delegate.h"
-#include "base/compiler_specific.h"
-#include "base/macros.h"
-#include "base/observer_list.h"
-#include "ui/gfx/image/image_skia.h"
-
-namespace ash {
-class SessionStateObserver;
-} // namespace ash
-
-class SessionStateDelegate : public ash::SessionStateDelegate {
- public:
- SessionStateDelegate();
- ~SessionStateDelegate() override;
-
- // ash::SessionStateDelegate:
- int GetMaximumNumberOfLoggedInUsers() const override;
- int NumberOfLoggedInUsers() const override;
- bool IsActiveUserSessionStarted() const override;
- bool CanLockScreen() const override;
- bool IsScreenLocked() const override;
- bool ShouldLockScreenBeforeSuspending() const override;
- void LockScreen() override;
- void UnlockScreen() override;
- bool IsUserSessionBlocked() const override;
- SessionState GetSessionState() const override;
- const user_manager::UserInfo* GetUserInfo(
- ash::UserIndex index) const override;
- bool ShouldShowAvatar(aura::Window* window) const override;
- gfx::ImageSkia GetAvatarImageForWindow(aura::Window* window) const override;
- void SwitchActiveUser(const AccountId& account_id) override;
- void CycleActiveUser(CycleUser cycle_user) override;
- bool IsMultiProfileAllowedByPrimaryUserPolicy() const override;
- void AddSessionStateObserver(ash::SessionStateObserver* observer) override;
- void RemoveSessionStateObserver(ash::SessionStateObserver* observer) override;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(SessionStateDelegate);
-};
-
-#endif // CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_VIEWS_H_
« 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