Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Side by Side Diff: components/exo/wm_helper_mus.h

Issue 2250863003: exo: Run exo in mus+ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build errors Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/exo/wm_helper_ash.cc ('k') | components/exo/wm_helper_mus.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_
OLDNEW
« no previous file with comments | « components/exo/wm_helper_ash.cc ('k') | components/exo/wm_helper_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698