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

Side by Side Diff: components/exo/wm_helper_ash.cc

Issue 2766543002: Move even more from WmShell to Shell (Closed)
Patch Set: 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 | « components/arc/intent_helper/arc_intent_helper_bridge.cc ('k') | no next file » | 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 "components/exo/wm_helper_ash.h" 5 #include "components/exo/wm_helper_ash.h"
6 6
7 #include "ash/common/accessibility_delegate.h" 7 #include "ash/common/accessibility_delegate.h"
8 #include "ash/common/system/tray/system_tray_notifier.h" 8 #include "ash/common/system/tray/system_tray_notifier.h"
9 #include "ash/common/wm/maximize_mode/maximize_mode_controller.h" 9 #include "ash/common/wm/maximize_mode/maximize_mode_controller.h"
10 #include "ash/common/wm_shell.h" 10 #include "ash/common/wm_shell.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 87
88 void WMHelperAsh::AddPostTargetHandler(ui::EventHandler* handler) { 88 void WMHelperAsh::AddPostTargetHandler(ui::EventHandler* handler) {
89 ash::Shell::GetInstance()->AddPostTargetHandler(handler); 89 ash::Shell::GetInstance()->AddPostTargetHandler(handler);
90 } 90 }
91 91
92 void WMHelperAsh::RemovePostTargetHandler(ui::EventHandler* handler) { 92 void WMHelperAsh::RemovePostTargetHandler(ui::EventHandler* handler) {
93 ash::Shell::GetInstance()->RemovePostTargetHandler(handler); 93 ash::Shell::GetInstance()->RemovePostTargetHandler(handler);
94 } 94 }
95 95
96 bool WMHelperAsh::IsMaximizeModeWindowManagerEnabled() const { 96 bool WMHelperAsh::IsMaximizeModeWindowManagerEnabled() const {
97 return ash::WmShell::Get() 97 return ash::Shell::Get()
98 ->maximize_mode_controller() 98 ->maximize_mode_controller()
99 ->IsMaximizeModeWindowManagerEnabled(); 99 ->IsMaximizeModeWindowManagerEnabled();
100 } 100 }
101 101
102 bool WMHelperAsh::IsSpokenFeedbackEnabled() const { 102 bool WMHelperAsh::IsSpokenFeedbackEnabled() const {
103 return ash::Shell::GetInstance() 103 return ash::Shell::GetInstance()
104 ->accessibility_delegate() 104 ->accessibility_delegate()
105 ->IsSpokenFeedbackEnabled(); 105 ->IsSpokenFeedbackEnabled();
106 } 106 }
107 107
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 149
150 void WMHelperAsh::OnDisplayConfigurationChanged() { 150 void WMHelperAsh::OnDisplayConfigurationChanged() {
151 NotifyDisplayConfigurationChanged(); 151 NotifyDisplayConfigurationChanged();
152 } 152 }
153 153
154 void WMHelperAsh::OnKeyboardDeviceConfigurationChanged() { 154 void WMHelperAsh::OnKeyboardDeviceConfigurationChanged() {
155 NotifyKeyboardDeviceConfigurationChanged(); 155 NotifyKeyboardDeviceConfigurationChanged();
156 } 156 }
157 157
158 } // namespace exo 158 } // namespace exo
OLDNEW
« no previous file with comments | « components/arc/intent_helper/arc_intent_helper_bridge.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698