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

Side by Side Diff: ash/wm_window.h

Issue 2897993003: chromeos: converts WindowResizer to aura::Window (Closed)
Patch Set: remove include from exo Created 3 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/workspace_controller_unittest.cc ('k') | ash/wm_window.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_WINDOW_H_ 5 #ifndef ASH_WM_WINDOW_H_
6 #define ASH_WM_WINDOW_H_ 6 #define ASH_WM_WINDOW_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 gfx::Rect GetTargetBounds(); 221 gfx::Rect GetTargetBounds();
222 void ClearRestoreBounds(); 222 void ClearRestoreBounds();
223 void SetRestoreBoundsInScreen(const gfx::Rect& bounds); 223 void SetRestoreBoundsInScreen(const gfx::Rect& bounds);
224 gfx::Rect GetRestoreBoundsInScreen() const; 224 gfx::Rect GetRestoreBoundsInScreen() const;
225 225
226 bool Contains(const WmWindow* other) const; 226 bool Contains(const WmWindow* other) const;
227 227
228 void SetShowState(ui::WindowShowState show_state); 228 void SetShowState(ui::WindowShowState show_state);
229 ui::WindowShowState GetShowState() const; 229 ui::WindowShowState GetShowState() const;
230 230
231 void SetPreMinimizedShowState(ui::WindowShowState show_state);
232 ui::WindowShowState GetPreMinimizedShowState() const;
233 void SetPreFullscreenShowState(ui::WindowShowState show_state); 231 void SetPreFullscreenShowState(ui::WindowShowState show_state);
234 232
235 // Sets the restore bounds and show state overrides. These values take 233 // Sets the restore bounds and show state overrides. These values take
236 // precedence over the restore bounds and restore show state (if set). 234 // precedence over the restore bounds and restore show state (if set).
237 // If |bounds_override| is empty the values are cleared. 235 // If |bounds_override| is empty the values are cleared.
238 void SetRestoreOverrides(const gfx::Rect& bounds_override, 236 void SetRestoreOverrides(const gfx::Rect& bounds_override,
239 ui::WindowShowState window_state_override); 237 ui::WindowShowState window_state_override);
240 238
241 // If |value| is true the window can not be moved to another root, regardless 239 // If |value| is true the window can not be moved to another root, regardless
242 // of the bounds set on it. 240 // of the bounds set on it.
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 348
351 // If true the minimum size is 0x0, default is minimum size comes from widget. 349 // If true the minimum size is 0x0, default is minimum size comes from widget.
352 bool use_empty_minimum_size_for_testing_; 350 bool use_empty_minimum_size_for_testing_;
353 351
354 DISALLOW_COPY_AND_ASSIGN(WmWindow); 352 DISALLOW_COPY_AND_ASSIGN(WmWindow);
355 }; 353 };
356 354
357 } // namespace ash 355 } // namespace ash
358 356
359 #endif // ASH_WM_WINDOW_H_ 357 #endif // ASH_WM_WINDOW_H_
OLDNEW
« no previous file with comments | « ash/wm/workspace_controller_unittest.cc ('k') | ash/wm_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698