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

Side by Side Diff: ash/wm/aura/wm_globals_aura.h

Issue 1901773002: Removes most of aura dependencies from DefaultState (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wm_window_positioner
Patch Set: nit and merge Created 4 years, 8 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 | « ash/shelf/shelf_layout_manager.cc ('k') | ash/wm/aura/wm_globals_aura.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 ASH_WM_AURA_WM_GLOBALS_AURA_H_ 5 #ifndef ASH_WM_AURA_WM_GLOBALS_AURA_H_
6 #define ASH_WM_AURA_WM_GLOBALS_AURA_H_ 6 #define ASH_WM_AURA_WM_GLOBALS_AURA_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
11 #include "ash/wm/common/wm_globals.h" 11 #include "ash/wm/common/wm_globals.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 13
14 namespace ash { 14 namespace ash {
15 namespace wm { 15 namespace wm {
16 16
17 class ASH_EXPORT WmGlobalsAura : public WmGlobals { 17 class ASH_EXPORT WmGlobalsAura : public WmGlobals {
18 public: 18 public:
19 WmGlobalsAura(); 19 WmGlobalsAura();
20 ~WmGlobalsAura() override; 20 ~WmGlobalsAura() override;
21 21
22 static WmGlobalsAura* Get(); 22 static WmGlobalsAura* Get();
23 23
24 // WmGlobals: 24 // WmGlobals:
25 WmWindow* GetActiveWindow() override; 25 WmWindow* GetActiveWindow() override;
26 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override;
26 WmWindow* GetRootWindowForNewWindows() override; 27 WmWindow* GetRootWindowForNewWindows() override;
27 std::vector<WmWindow*> GetMruWindowListIgnoreModals() override; 28 std::vector<WmWindow*> GetMruWindowListIgnoreModals() override;
28 bool IsForceMaximizeOnFirstRun() override; 29 bool IsForceMaximizeOnFirstRun() override;
29 std::vector<WmWindow*> GetAllRootWindows() override; 30 std::vector<WmWindow*> GetAllRootWindows() override;
30 31
31 private: 32 private:
32 DISALLOW_COPY_AND_ASSIGN(WmGlobalsAura); 33 DISALLOW_COPY_AND_ASSIGN(WmGlobalsAura);
33 }; 34 };
34 35
35 } // namespace wm 36 } // namespace wm
36 } // namespace ash 37 } // namespace ash
37 38
38 #endif // ASH_WM_AURA_WM_GLOBALS_AURA_H_ 39 #endif // ASH_WM_AURA_WM_GLOBALS_AURA_H_
OLDNEW
« no previous file with comments | « ash/shelf/shelf_layout_manager.cc ('k') | ash/wm/aura/wm_globals_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698