Chromium Code Reviews| Index: components/exo/wm_helper_ash.cc |
| diff --git a/components/exo/wm_helper_ash.cc b/components/exo/wm_helper_ash.cc |
| index 9998ae6634a6979ba645ef8398d41b05989d89df..18f39cc917ed12c404d69921d463fe87ab9520b1 100644 |
| --- a/components/exo/wm_helper_ash.cc |
| +++ b/components/exo/wm_helper_ash.cc |
| @@ -129,6 +129,12 @@ void WMHelperAsh::PlayEarcon(int sound_key) const { |
| return ash::Shell::Get()->accessibility_delegate()->PlayEarcon(sound_key); |
| } |
| +void WMHelperAsh::SetCursor(gfx::NativeCursor cursor) { |
| + ash::Shell* shell = ash::Shell::GetInstance(); |
|
oshima
2017/04/26 22:13:39
nit ::Get()
|
| + static_cast<wm::NativeCursorManager*>(shell->native_cursor_manager()) |
| + ->SetCursor(cursor, shell->cursor_manager()); |
|
oshima
2017/04/26 22:13:39
NativeCursorManager is to provide platform impls,
Dominik Laskowski
2017/04/27 20:27:20
Not really. It's mostly for consistency with Ash i
|
| +} |
| + |
| void WMHelperAsh::OnWindowActivated( |
| aura::client::ActivationChangeObserver::ActivationReason reason, |
| aura::Window* gained_active, |