Chromium Code Reviews| 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 private: | |
|
reveman
2016/08/17 21:10:06
nit: please avoid overriding public virtual functi
Peng
2016/08/17 21:29:58
Done.
| |
| 20 // Overriden from WMHelper: | |
| 21 const ash::DisplayInfo GetDisplayInfo(int64_t display_id) const override; | |
| 22 aura::Window* GetContainer(int container_id) override; | |
| 23 aura::Window* GetActiveWindow() const override; | |
| 24 aura::Window* GetFocusedWindow() const override; | |
| 25 ui::CursorSetType GetCursorSet() const override; | |
| 26 void AddPreTargetHandler(ui::EventHandler* handler) override; | |
| 27 void PrependPreTargetHandler(ui::EventHandler* handler) override; | |
| 28 void RemovePreTargetHandler(ui::EventHandler* handler) override; | |
| 29 void AddPostTargetHandler(ui::EventHandler* handler) override; | |
| 30 void RemovePostTargetHandler(ui::EventHandler* handler) override; | |
| 31 bool IsMaximizeModeWindowManagerEnabled() const override; | |
| 32 | |
| 33 DISALLOW_COPY_AND_ASSIGN(WMHelperMus); | |
| 34 }; | |
| 35 | |
| 36 } // namespace exo | |
| 37 | |
| 38 #endif // COMPONENTS_EXO_WM_HELPER_H_ | |
| OLD | NEW |