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

Side by Side Diff: ash/mus/shell_delegate_mus.cc

Issue 2724163002: ash: Use enum for SessionController::CycleActiveUser (Closed)
Patch Set: fix ash_shell_with_content compile Created 3 years, 9 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/mus/bridge/wm_shell_mus.cc ('k') | ash/public/cpp/session_types.h » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #include "ash/mus/shell_delegate_mus.h" 5 #include "ash/mus/shell_delegate_mus.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "ash/common/gpu_support_stub.h" 9 #include "ash/common/gpu_support_stub.h"
10 #include "ash/common/palette_delegate.h" 10 #include "ash/common/palette_delegate.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 } 58 }
59 bool ShouldShowAvatar(WmWindow* window) const override { 59 bool ShouldShowAvatar(WmWindow* window) const override {
60 NOTIMPLEMENTED(); 60 NOTIMPLEMENTED();
61 return !user_info_->GetImage().isNull(); 61 return !user_info_->GetImage().isNull();
62 } 62 }
63 gfx::ImageSkia GetAvatarImageForWindow(WmWindow* window) const override { 63 gfx::ImageSkia GetAvatarImageForWindow(WmWindow* window) const override {
64 NOTIMPLEMENTED(); 64 NOTIMPLEMENTED();
65 return gfx::ImageSkia(); 65 return gfx::ImageSkia();
66 } 66 }
67 void SwitchActiveUser(const AccountId& account_id) override {} 67 void SwitchActiveUser(const AccountId& account_id) override {}
68 void CycleActiveUser(CycleUser cycle_user) override {} 68 void CycleActiveUser(CycleUserDirection direction) override {}
69 bool IsMultiProfileAllowedByPrimaryUserPolicy() const override { 69 bool IsMultiProfileAllowedByPrimaryUserPolicy() const override {
70 return true; 70 return true;
71 } 71 }
72 void AddSessionStateObserver(ash::SessionStateObserver* observer) override {} 72 void AddSessionStateObserver(ash::SessionStateObserver* observer) override {}
73 void RemoveSessionStateObserver( 73 void RemoveSessionStateObserver(
74 ash::SessionStateObserver* observer) override {} 74 ash::SessionStateObserver* observer) override {}
75 75
76 private: 76 private:
77 bool screen_locked_; 77 bool screen_locked_;
78 78
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 void ShellDelegateMus::SetTouchscreenEnabledInPrefs(bool enabled, 196 void ShellDelegateMus::SetTouchscreenEnabledInPrefs(bool enabled,
197 bool use_local_state) { 197 bool use_local_state) {
198 NOTIMPLEMENTED(); 198 NOTIMPLEMENTED();
199 } 199 }
200 200
201 void ShellDelegateMus::UpdateTouchscreenStatusFromPrefs() { 201 void ShellDelegateMus::UpdateTouchscreenStatusFromPrefs() {
202 NOTIMPLEMENTED(); 202 NOTIMPLEMENTED();
203 } 203 }
204 204
205 } // namespace ash 205 } // namespace ash
OLDNEW
« no previous file with comments | « ash/mus/bridge/wm_shell_mus.cc ('k') | ash/public/cpp/session_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698