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_MUS_H_ | 5 #ifndef COMPONENTS_EXO_WM_HELPER_MUS_H_ |
6 #define COMPONENTS_EXO_WM_HELPER_MUS_H_ | 6 #define COMPONENTS_EXO_WM_HELPER_MUS_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "components/exo/wm_helper.h" | 9 #include "components/exo/wm_helper.h" |
10 #include "ui/aura/client/focus_change_observer.h" | 10 #include "ui/aura/client/focus_change_observer.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 public: | 26 public: |
27 WMHelperMus(); | 27 WMHelperMus(); |
28 ~WMHelperMus() override; | 28 ~WMHelperMus() override; |
29 | 29 |
30 // Overridden from WMHelper: | 30 // Overridden from WMHelper: |
31 const display::ManagedDisplayInfo& GetDisplayInfo( | 31 const display::ManagedDisplayInfo& GetDisplayInfo( |
32 int64_t display_id) const override; | 32 int64_t display_id) const override; |
33 aura::Window* GetPrimaryDisplayContainer(int container_id) override; | 33 aura::Window* GetPrimaryDisplayContainer(int container_id) override; |
34 aura::Window* GetActiveWindow() const override; | 34 aura::Window* GetActiveWindow() const override; |
35 aura::Window* GetFocusedWindow() const override; | 35 aura::Window* GetFocusedWindow() const override; |
36 ui::CursorSetType GetCursorSet() const override; | 36 ui::CursorSize GetCursorSize() const override; |
37 const display::Display& GetCursorDisplay() const override; | 37 const display::Display& GetCursorDisplay() const override; |
38 void AddPreTargetHandler(ui::EventHandler* handler) override; | 38 void AddPreTargetHandler(ui::EventHandler* handler) override; |
39 void PrependPreTargetHandler(ui::EventHandler* handler) override; | 39 void PrependPreTargetHandler(ui::EventHandler* handler) override; |
40 void RemovePreTargetHandler(ui::EventHandler* handler) override; | 40 void RemovePreTargetHandler(ui::EventHandler* handler) override; |
41 void AddPostTargetHandler(ui::EventHandler* handler) override; | 41 void AddPostTargetHandler(ui::EventHandler* handler) override; |
42 void RemovePostTargetHandler(ui::EventHandler* handler) override; | 42 void RemovePostTargetHandler(ui::EventHandler* handler) override; |
43 bool IsMaximizeModeWindowManagerEnabled() const override; | 43 bool IsMaximizeModeWindowManagerEnabled() const override; |
44 | 44 |
45 // Overridden from aura::FocusSynchronizerObserver: | 45 // Overridden from aura::FocusSynchronizerObserver: |
46 void OnActiveFocusClientChanged(aura::client::FocusClient* focus_client, | 46 void OnActiveFocusClientChanged(aura::client::FocusClient* focus_client, |
(...skipping 20 matching lines...) Expand all Loading... |
67 aura::Window* root_with_active_focus_client_ = nullptr; | 67 aura::Window* root_with_active_focus_client_ = nullptr; |
68 aura::Window* active_window_ = nullptr; | 68 aura::Window* active_window_ = nullptr; |
69 aura::Window* focused_window_ = nullptr; | 69 aura::Window* focused_window_ = nullptr; |
70 | 70 |
71 DISALLOW_COPY_AND_ASSIGN(WMHelperMus); | 71 DISALLOW_COPY_AND_ASSIGN(WMHelperMus); |
72 }; | 72 }; |
73 | 73 |
74 } // namespace exo | 74 } // namespace exo |
75 | 75 |
76 #endif // COMPONENTS_EXO_WM_HELPER_H_ | 76 #endif // COMPONENTS_EXO_WM_HELPER_H_ |
OLD | NEW |