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

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

Issue 2700523004: Remove docked windows entirely in M59. (Closed)
Patch Set: Rebase Created 3 years, 9 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/common/wm/window_resizer.cc ('k') | ash/common/wm/window_state.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_COMMON_WM_WINDOW_STATE_H_ 5 #ifndef ASH_COMMON_WM_WINDOW_STATE_H_
6 #define ASH_COMMON_WM_WINDOW_STATE_H_ 6 #define ASH_COMMON_WM_WINDOW_STATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 // WINDOW_STATE_TYPE_FULLSCREEN or WINDOW_STATE_TYPE_PINNED. 103 // WINDOW_STATE_TYPE_FULLSCREEN or WINDOW_STATE_TYPE_PINNED.
104 bool IsMaximizedOrFullscreenOrPinned() const; 104 bool IsMaximizedOrFullscreenOrPinned() const;
105 105
106 // True if the window's state type is WINDOW_STATE_TYPE_NORMAL or 106 // True if the window's state type is WINDOW_STATE_TYPE_NORMAL or
107 // WINDOW_STATE_TYPE_DEFAULT. 107 // WINDOW_STATE_TYPE_DEFAULT.
108 bool IsNormalStateType() const; 108 bool IsNormalStateType() const;
109 109
110 bool IsNormalOrSnapped() const; 110 bool IsNormalOrSnapped() const;
111 111
112 bool IsActive() const; 112 bool IsActive() const;
113 bool IsDocked() const;
114 113
115 // Returns true if the window's location can be controlled by the user. 114 // Returns true if the window's location can be controlled by the user.
116 bool IsUserPositionable() const; 115 bool IsUserPositionable() const;
117 116
118 // Checks if the window can change its state accordingly. 117 // Checks if the window can change its state accordingly.
119 bool CanMaximize() const; 118 bool CanMaximize() const;
120 bool CanMinimize() const; 119 bool CanMinimize() const;
121 bool CanResize() const; 120 bool CanResize() const;
122 bool CanSnap() const; 121 bool CanSnap() const;
123 bool CanActivate() const; 122 bool CanActivate() const;
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 387
389 std::unique_ptr<State> current_state_; 388 std::unique_ptr<State> current_state_;
390 389
391 DISALLOW_COPY_AND_ASSIGN(WindowState); 390 DISALLOW_COPY_AND_ASSIGN(WindowState);
392 }; 391 };
393 392
394 } // namespace wm 393 } // namespace wm
395 } // namespace ash 394 } // namespace ash
396 395
397 #endif // ASH_COMMON_WM_WINDOW_STATE_H_ 396 #endif // ASH_COMMON_WM_WINDOW_STATE_H_
OLDNEW
« no previous file with comments | « ash/common/wm/window_resizer.cc ('k') | ash/common/wm/window_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698