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

Side by Side Diff: ash/aura/wm_window_aura.h

Issue 2091263004: Moves a couple of the maximize mode classes to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: feedback Created 4 years, 5 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 | « no previous file | ash/aura/wm_window_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_AURA_WM_WINDOW_AURA_H_ 5 #ifndef ASH_AURA_WM_WINDOW_AURA_H_
6 #define ASH_AURA_WM_WINDOW_AURA_H_ 6 #define ASH_AURA_WM_WINDOW_AURA_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/common/wm_window.h" 9 #include "ash/common/wm_window.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 gfx::Rect GetBoundsInScreen() const override; 104 gfx::Rect GetBoundsInScreen() const override;
105 const gfx::Rect& GetBounds() const override; 105 const gfx::Rect& GetBounds() const override;
106 gfx::Rect GetTargetBounds() override; 106 gfx::Rect GetTargetBounds() override;
107 void ClearRestoreBounds() override; 107 void ClearRestoreBounds() override;
108 void SetRestoreBoundsInScreen(const gfx::Rect& bounds) override; 108 void SetRestoreBoundsInScreen(const gfx::Rect& bounds) override;
109 gfx::Rect GetRestoreBoundsInScreen() const override; 109 gfx::Rect GetRestoreBoundsInScreen() const override;
110 bool Contains(const WmWindow* other) const override; 110 bool Contains(const WmWindow* other) const override;
111 void SetShowState(ui::WindowShowState show_state) override; 111 void SetShowState(ui::WindowShowState show_state) override;
112 ui::WindowShowState GetShowState() const override; 112 ui::WindowShowState GetShowState() const override;
113 void SetRestoreShowState(ui::WindowShowState show_state) override; 113 void SetRestoreShowState(ui::WindowShowState show_state) override;
114 void SetRestoreOverrides(const gfx::Rect& bounds_override,
115 ui::WindowShowState window_state_override) override;
114 void SetLockedToRoot(bool value) override; 116 void SetLockedToRoot(bool value) override;
115 void SetCapture() override; 117 void SetCapture() override;
116 bool HasCapture() override; 118 bool HasCapture() override;
117 void ReleaseCapture() override; 119 void ReleaseCapture() override;
118 bool HasRestoreBounds() const override; 120 bool HasRestoreBounds() const override;
119 bool CanMaximize() const override; 121 bool CanMaximize() const override;
120 bool CanMinimize() const override; 122 bool CanMinimize() const override;
121 bool CanResize() const override; 123 bool CanResize() const override;
122 bool CanActivate() const override; 124 bool CanActivate() const override;
123 void StackChildAtTop(WmWindow* child) override; 125 void StackChildAtTop(WmWindow* child) override;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 aura::Window* window_; 172 aura::Window* window_;
171 173
172 base::ObserverList<WmWindowObserver> observers_; 174 base::ObserverList<WmWindowObserver> observers_;
173 175
174 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); 176 DISALLOW_COPY_AND_ASSIGN(WmWindowAura);
175 }; 177 };
176 178
177 } // namespace ash 179 } // namespace ash
178 180
179 #endif // ASH_AURA_WM_WINDOW_AURA_H_ 181 #endif // ASH_AURA_WM_WINDOW_AURA_H_
OLDNEW
« no previous file with comments | « no previous file | ash/aura/wm_window_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698