| 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 #ifndef COMPONENTS_EXO_WM_HELPER_ASH_H_ | 5 #ifndef COMPONENTS_EXO_WM_HELPER_ASH_H_ |
| 6 #define COMPONENTS_EXO_WM_HELPER_ASH_H_ | 6 #define COMPONENTS_EXO_WM_HELPER_ASH_H_ |
| 7 | 7 |
| 8 #include "ash/shell_observer.h" | 8 #include "ash/shell_observer.h" |
| 9 #include "ash/system/accessibility_observer.h" | 9 #include "ash/system/accessibility_observer.h" |
| 10 #include "ash/wm/ash_native_cursor_manager.h" | 10 #include "ash/wm/ash_native_cursor_manager.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 aura::Window* GetFocusedWindow() const override; | 40 aura::Window* GetFocusedWindow() const override; |
| 41 ui::CursorSetType GetCursorSet() const override; | 41 ui::CursorSetType GetCursorSet() const override; |
| 42 void AddPreTargetHandler(ui::EventHandler* handler) override; | 42 void AddPreTargetHandler(ui::EventHandler* handler) override; |
| 43 void PrependPreTargetHandler(ui::EventHandler* handler) override; | 43 void PrependPreTargetHandler(ui::EventHandler* handler) override; |
| 44 void RemovePreTargetHandler(ui::EventHandler* handler) override; | 44 void RemovePreTargetHandler(ui::EventHandler* handler) override; |
| 45 void AddPostTargetHandler(ui::EventHandler* handler) override; | 45 void AddPostTargetHandler(ui::EventHandler* handler) override; |
| 46 void RemovePostTargetHandler(ui::EventHandler* handler) override; | 46 void RemovePostTargetHandler(ui::EventHandler* handler) override; |
| 47 bool IsMaximizeModeWindowManagerEnabled() const override; | 47 bool IsMaximizeModeWindowManagerEnabled() const override; |
| 48 bool IsSpokenFeedbackEnabled() const override; | 48 bool IsSpokenFeedbackEnabled() const override; |
| 49 void PlayEarcon(int sound_key) const override; | 49 void PlayEarcon(int sound_key) const override; |
| 50 void SetCursor(gfx::NativeCursor cursor) override; |
| 50 | 51 |
| 51 // Overridden from aura::client::ActivationChangeObserver: | 52 // Overridden from aura::client::ActivationChangeObserver: |
| 52 void OnWindowActivated( | 53 void OnWindowActivated( |
| 53 aura::client::ActivationChangeObserver::ActivationReason reason, | 54 aura::client::ActivationChangeObserver::ActivationReason reason, |
| 54 aura::Window* gained_active, | 55 aura::Window* gained_active, |
| 55 aura::Window* lost_active) override; | 56 aura::Window* lost_active) override; |
| 56 | 57 |
| 57 // Overridden from aura::client::FocusChangeObserver: | 58 // Overridden from aura::client::FocusChangeObserver: |
| 58 void OnWindowFocused(aura::Window* gained_focus, | 59 void OnWindowFocused(aura::Window* gained_focus, |
| 59 aura::Window* lost_focus) override; | 60 aura::Window* lost_focus) override; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 80 // Overridden from ui::InputDeviceEventObserver: | 81 // Overridden from ui::InputDeviceEventObserver: |
| 81 void OnKeyboardDeviceConfigurationChanged() override; | 82 void OnKeyboardDeviceConfigurationChanged() override; |
| 82 | 83 |
| 83 private: | 84 private: |
| 84 DISALLOW_COPY_AND_ASSIGN(WMHelperAsh); | 85 DISALLOW_COPY_AND_ASSIGN(WMHelperAsh); |
| 85 }; | 86 }; |
| 86 | 87 |
| 87 } // namespace exo | 88 } // namespace exo |
| 88 | 89 |
| 89 #endif // COMPONENTS_EXO_WM_HELPER_H_ | 90 #endif // COMPONENTS_EXO_WM_HELPER_H_ |
| OLD | NEW |