OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef COMPONENTS_EXO_WM_HELPER_MUS_H_ |
| 6 #define COMPONENTS_EXO_WM_HELPER_MUS_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "components/exo/wm_helper.h" |
| 10 |
| 11 namespace exo { |
| 12 |
| 13 // A helper class for accessing WindowManager related features. |
| 14 class WMHelperMus : public WMHelper { |
| 15 public: |
| 16 WMHelperMus(); |
| 17 ~WMHelperMus() override; |
| 18 |
| 19 // Overriden from WMHelper: |
| 20 const ash::DisplayInfo GetDisplayInfo(int64_t display_id) const override; |
| 21 aura::Window* GetContainer(int container_id) override; |
| 22 aura::Window* GetActiveWindow() const override; |
| 23 aura::Window* GetFocusedWindow() const override; |
| 24 ui::CursorSetType GetCursorSet() const override; |
| 25 void AddPreTargetHandler(ui::EventHandler* handler) override; |
| 26 void PrependPreTargetHandler(ui::EventHandler* handler) override; |
| 27 void RemovePreTargetHandler(ui::EventHandler* handler) override; |
| 28 void AddPostTargetHandler(ui::EventHandler* handler) override; |
| 29 void RemovePostTargetHandler(ui::EventHandler* handler) override; |
| 30 bool IsMaximizeModeWindowManagerEnabled() const override; |
| 31 |
| 32 private: |
| 33 DISALLOW_COPY_AND_ASSIGN(WMHelperMus); |
| 34 }; |
| 35 |
| 36 } // namespace exo |
| 37 |
| 38 #endif // COMPONENTS_EXO_WM_HELPER_H_ |
OLD | NEW |