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

Side by Side Diff: ash/wm/common/wm_globals.h

Issue 1954523002: Refactors StackingController::GetDefaultParent to ash/wm/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update gyp Created 4 years, 7 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/wm/common/container_finder.cc ('k') | ash/wm/common/wm_shell_window_ids.h » ('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_COMMON_WM_GLOBALS_H_ 5 #ifndef ASH_WM_COMMON_WM_GLOBALS_H_
6 #define ASH_WM_COMMON_WM_GLOBALS_H_ 6 #define ASH_WM_COMMON_WM_GLOBALS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 virtual WmWindow* GetRootWindowForNewWindows() = 0; 52 virtual WmWindow* GetRootWindowForNewWindows() = 0;
53 53
54 // returns the list of more recently used windows excluding modals. 54 // returns the list of more recently used windows excluding modals.
55 virtual std::vector<WmWindow*> GetMruWindowListIgnoreModals() = 0; 55 virtual std::vector<WmWindow*> GetMruWindowListIgnoreModals() = 0;
56 56
57 // Returns true if the first window shown on first run should be 57 // Returns true if the first window shown on first run should be
58 // unconditionally maximized, overriding the heuristic that normally chooses 58 // unconditionally maximized, overriding the heuristic that normally chooses
59 // the window size. 59 // the window size.
60 virtual bool IsForceMaximizeOnFirstRun() = 0; 60 virtual bool IsForceMaximizeOnFirstRun() = 0;
61 61
62 virtual bool IsUserSessionBlocked() = 0;
62 virtual bool IsScreenLocked() = 0; 63 virtual bool IsScreenLocked() = 0;
63 64
64 // See aura::client::CursorClient for details on these. 65 // See aura::client::CursorClient for details on these.
65 virtual void LockCursor() = 0; 66 virtual void LockCursor() = 0;
66 virtual void UnlockCursor() = 0; 67 virtual void UnlockCursor() = 0;
67 68
68 virtual std::vector<WmWindow*> GetAllRootWindows() = 0; 69 virtual std::vector<WmWindow*> GetAllRootWindows() = 0;
69 70
70 virtual void RecordUserMetricsAction(WmUserMetricsAction action) = 0; 71 virtual void RecordUserMetricsAction(WmUserMetricsAction action) = 0;
71 72
(...skipping 19 matching lines...) Expand all
91 virtual void RemoveOverviewModeObserver(WmOverviewModeObserver* observer) = 0; 92 virtual void RemoveOverviewModeObserver(WmOverviewModeObserver* observer) = 0;
92 93
93 private: 94 private:
94 static WmGlobals* instance_; 95 static WmGlobals* instance_;
95 }; 96 };
96 97
97 } // namespace wm 98 } // namespace wm
98 } // namespace ash 99 } // namespace ash
99 100
100 #endif // ASH_WM_COMMON_WM_GLOBALS_H_ 101 #endif // ASH_WM_COMMON_WM_GLOBALS_H_
OLDNEW
« no previous file with comments | « ash/wm/common/container_finder.cc ('k') | ash/wm/common/wm_shell_window_ids.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698