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

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

Issue 2908333003: [mus+ash] Removes WmWindow from ash (app_list, frame, metrics, session, system, wallpaper) (Closed)
Patch Set: [mus+ash] Removes WmWindow from ash (cleaning remaining wm_window.h in c/b/ui) Created 3 years, 6 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
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/gpu_support_stub.h" 9 #include "ash/gpu_support_stub.h"
10 #include "ash/mus/accessibility_delegate_mus.h" 10 #include "ash/mus/accessibility_delegate_mus.h"
(...skipping 11 matching lines...) Expand all
22 namespace ash { 22 namespace ash {
23 namespace { 23 namespace {
24 24
25 class SessionStateDelegateStub : public SessionStateDelegate { 25 class SessionStateDelegateStub : public SessionStateDelegate {
26 public: 26 public:
27 SessionStateDelegateStub() : user_info_(new user_manager::UserInfoImpl()) {} 27 SessionStateDelegateStub() : user_info_(new user_manager::UserInfoImpl()) {}
28 28
29 ~SessionStateDelegateStub() override {} 29 ~SessionStateDelegateStub() override {}
30 30
31 // SessionStateDelegate: 31 // SessionStateDelegate:
32 bool ShouldShowAvatar(WmWindow* window) const override { 32 bool ShouldShowAvatar(aura::Window* window) const override {
33 NOTIMPLEMENTED(); 33 NOTIMPLEMENTED();
34 return !user_info_->GetImage().isNull(); 34 return !user_info_->GetImage().isNull();
35 } 35 }
36 gfx::ImageSkia GetAvatarImageForWindow(WmWindow* window) const override { 36 gfx::ImageSkia GetAvatarImageForWindow(aura::Window* window) const override {
37 NOTIMPLEMENTED(); 37 NOTIMPLEMENTED();
38 return gfx::ImageSkia(); 38 return gfx::ImageSkia();
39 } 39 }
40 40
41 private: 41 private:
42 // A pseudo user info. 42 // A pseudo user info.
43 std::unique_ptr<user_manager::UserInfo> user_info_; 43 std::unique_ptr<user_manager::UserInfo> user_info_;
44 44
45 DISALLOW_COPY_AND_ASSIGN(SessionStateDelegateStub); 45 DISALLOW_COPY_AND_ASSIGN(SessionStateDelegateStub);
46 }; 46 };
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 void ShellDelegateMus::SetTouchscreenEnabledInPrefs(bool enabled, 171 void ShellDelegateMus::SetTouchscreenEnabledInPrefs(bool enabled,
172 bool use_local_state) { 172 bool use_local_state) {
173 NOTIMPLEMENTED(); 173 NOTIMPLEMENTED();
174 } 174 }
175 175
176 void ShellDelegateMus::UpdateTouchscreenStatusFromPrefs() { 176 void ShellDelegateMus::UpdateTouchscreenStatusFromPrefs() {
177 NOTIMPLEMENTED(); 177 NOTIMPLEMENTED();
178 } 178 }
179 179
180 } // namespace ash 180 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698