| OLD | NEW |
| 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_COMMON_WM_WINDOW_H_ | 5 #ifndef ASH_COMMON_WM_WINDOW_H_ |
| 6 #define ASH_COMMON_WM_WINDOW_H_ | 6 #define ASH_COMMON_WM_WINDOW_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 bool CanMaximize() const; | 273 bool CanMaximize() const; |
| 274 bool CanMinimize() const; | 274 bool CanMinimize() const; |
| 275 bool CanResize() const; | 275 bool CanResize() const; |
| 276 bool CanActivate() const; | 276 bool CanActivate() const; |
| 277 | 277 |
| 278 void StackChildAtTop(WmWindow* child); | 278 void StackChildAtTop(WmWindow* child); |
| 279 void StackChildAtBottom(WmWindow* child); | 279 void StackChildAtBottom(WmWindow* child); |
| 280 void StackChildAbove(WmWindow* child, WmWindow* target); | 280 void StackChildAbove(WmWindow* child, WmWindow* target); |
| 281 void StackChildBelow(WmWindow* child, WmWindow* target); | 281 void StackChildBelow(WmWindow* child, WmWindow* target); |
| 282 | 282 |
| 283 // See ScreenPinningController::SetPinnedWindow() for details. | |
| 284 void SetPinned(bool trusted); | |
| 285 | |
| 286 void SetAlwaysOnTop(bool value); | 283 void SetAlwaysOnTop(bool value); |
| 287 bool IsAlwaysOnTop() const; | 284 bool IsAlwaysOnTop() const; |
| 288 | 285 |
| 289 void Hide(); | 286 void Hide(); |
| 290 void Show(); | 287 void Show(); |
| 291 | 288 |
| 292 // Returns the widget associated with this window, or null if not associated | 289 // Returns the widget associated with this window, or null if not associated |
| 293 // with a widget. Only ash system UI widgets are returned, not widgets created | 290 // with a widget. Only ash system UI widgets are returned, not widgets created |
| 294 // by the mus window manager code to show a non-client frame. | 291 // by the mus window manager code to show a non-client frame. |
| 295 views::Widget* GetInternalWidget(); | 292 views::Widget* GetInternalWidget(); |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 | 379 |
| 383 // If true the minimum size is 0x0, default is minimum size comes from widget. | 380 // If true the minimum size is 0x0, default is minimum size comes from widget. |
| 384 bool use_empty_minimum_size_for_testing_; | 381 bool use_empty_minimum_size_for_testing_; |
| 385 | 382 |
| 386 DISALLOW_COPY_AND_ASSIGN(WmWindow); | 383 DISALLOW_COPY_AND_ASSIGN(WmWindow); |
| 387 }; | 384 }; |
| 388 | 385 |
| 389 } // namespace ash | 386 } // namespace ash |
| 390 | 387 |
| 391 #endif // ASH_COMMON_WM_WINDOW_H_ | 388 #endif // ASH_COMMON_WM_WINDOW_H_ |
| OLD | NEW |