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

Side by Side Diff: ash/mus/bridge/wm_shell_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/common/test/test_session_state_delegate.cc ('k') | ash/mus/shell_delegate_mus.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 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/bridge/wm_shell_mus.h" 5 #include "ash/mus/bridge/wm_shell_mus.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "ash/common/accelerators/accelerator_controller.h" 9 #include "ash/common/accelerators/accelerator_controller.h"
10 #include "ash/common/key_event_watcher.h" 10 #include "ash/common/key_event_watcher.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 } 87 }
88 bool ShouldShowAvatar(WmWindow* window) const override { 88 bool ShouldShowAvatar(WmWindow* window) const override {
89 NOTIMPLEMENTED(); 89 NOTIMPLEMENTED();
90 return !user_info_->GetImage().isNull(); 90 return !user_info_->GetImage().isNull();
91 } 91 }
92 gfx::ImageSkia GetAvatarImageForWindow(WmWindow* window) const override { 92 gfx::ImageSkia GetAvatarImageForWindow(WmWindow* window) const override {
93 NOTIMPLEMENTED(); 93 NOTIMPLEMENTED();
94 return gfx::ImageSkia(); 94 return gfx::ImageSkia();
95 } 95 }
96 void SwitchActiveUser(const AccountId& account_id) override {} 96 void SwitchActiveUser(const AccountId& account_id) override {}
97 void CycleActiveUser(CycleUser cycle_user) override {} 97 void CycleActiveUser(CycleUserDirection direction) override {}
98 bool IsMultiProfileAllowedByPrimaryUserPolicy() const override { 98 bool IsMultiProfileAllowedByPrimaryUserPolicy() const override {
99 return true; 99 return true;
100 } 100 }
101 void AddSessionStateObserver(ash::SessionStateObserver* observer) override {} 101 void AddSessionStateObserver(ash::SessionStateObserver* observer) override {}
102 void RemoveSessionStateObserver( 102 void RemoveSessionStateObserver(
103 ash::SessionStateObserver* observer) override {} 103 ash::SessionStateObserver* observer) override {}
104 104
105 private: 105 private:
106 bool screen_locked_; 106 bool screen_locked_;
107 107
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 } 422 }
423 423
424 void WmShellMus::CreatePrimaryHost() {} 424 void WmShellMus::CreatePrimaryHost() {}
425 425
426 void WmShellMus::InitHosts(const ShellInitParams& init_params) { 426 void WmShellMus::InitHosts(const ShellInitParams& init_params) {
427 window_manager_->CreatePrimaryRootWindowController( 427 window_manager_->CreatePrimaryRootWindowController(
428 base::WrapUnique(init_params.primary_window_tree_host)); 428 base::WrapUnique(init_params.primary_window_tree_host));
429 } 429 }
430 } // namespace mus 430 } // namespace mus
431 } // namespace ash 431 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/test/test_session_state_delegate.cc ('k') | ash/mus/shell_delegate_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698