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 "ash/common/default_accessibility_delegate.h" | 7 #include "ash/common/default_accessibility_delegate.h" |
8 #include "ash/common/session/session_state_delegate.h" | 8 #include "ash/common/session/session_state_delegate.h" |
9 #include "ash/common/shell_observer.h" | 9 #include "ash/common/shell_observer.h" |
10 #include "ash/common/shell_window_ids.h" | 10 #include "ash/common/shell_window_ids.h" |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 bool WmShellMus::IsOverviewModeSelecting() { | 235 bool WmShellMus::IsOverviewModeSelecting() { |
236 NOTIMPLEMENTED(); | 236 NOTIMPLEMENTED(); |
237 return false; | 237 return false; |
238 } | 238 } |
239 | 239 |
240 bool WmShellMus::IsOverviewModeRestoringMinimizedWindows() { | 240 bool WmShellMus::IsOverviewModeRestoringMinimizedWindows() { |
241 NOTIMPLEMENTED(); | 241 NOTIMPLEMENTED(); |
242 return false; | 242 return false; |
243 } | 243 } |
244 | 244 |
| 245 void WmShellMus::ToggleIgnoreExternalKeyboard() { |
| 246 NOTIMPLEMENTED(); |
| 247 } |
| 248 |
245 AccessibilityDelegate* WmShellMus::GetAccessibilityDelegate() { | 249 AccessibilityDelegate* WmShellMus::GetAccessibilityDelegate() { |
246 return accessibility_delegate_.get(); | 250 return accessibility_delegate_.get(); |
247 } | 251 } |
248 | 252 |
249 SessionStateDelegate* WmShellMus::GetSessionStateDelegate() { | 253 SessionStateDelegate* WmShellMus::GetSessionStateDelegate() { |
250 return session_state_delegate_.get(); | 254 return session_state_delegate_.get(); |
251 } | 255 } |
252 | 256 |
253 void WmShellMus::AddActivationObserver(WmActivationObserver* observer) { | 257 void WmShellMus::AddActivationObserver(WmActivationObserver* observer) { |
254 activation_observers_.AddObserver(observer); | 258 activation_observers_.AddObserver(observer); |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 OnWindowActivated(gained_active, lost_active)); | 304 OnWindowActivated(gained_active, lost_active)); |
301 } | 305 } |
302 | 306 |
303 void WmShellMus::OnWillDestroyClient(::mus::WindowTreeClient* client) { | 307 void WmShellMus::OnWillDestroyClient(::mus::WindowTreeClient* client) { |
304 DCHECK_EQ(client, client_); | 308 DCHECK_EQ(client, client_); |
305 RemoveClientObserver(); | 309 RemoveClientObserver(); |
306 } | 310 } |
307 | 311 |
308 } // namespace mus | 312 } // namespace mus |
309 } // namespace ash | 313 } // namespace ash |
OLD | NEW |