OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |