| OLD | NEW |
| 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_WM_OVERVIEW_WINDOW_SELECTOR_ITEM_H_ | 5 #ifndef ASH_WM_OVERVIEW_WINDOW_SELECTOR_ITEM_H_ |
| 6 #define ASH_WM_OVERVIEW_WINDOW_SELECTOR_ITEM_H_ | 6 #define ASH_WM_OVERVIEW_WINDOW_SELECTOR_ITEM_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "ui/gfx/rect.h" | 9 #include "ui/gfx/rect.h" |
| 10 | 10 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 aura::Window* root_window_; | 79 aura::Window* root_window_; |
| 80 | 80 |
| 81 // The target bounds this selector item is fit within. | 81 // The target bounds this selector item is fit within. |
| 82 gfx::Rect target_bounds_; | 82 gfx::Rect target_bounds_; |
| 83 | 83 |
| 84 // The actual bounds of the window(s) for this item. The aspect ratio of | 84 // The actual bounds of the window(s) for this item. The aspect ratio of |
| 85 // window(s) are maintained so they may not fill the target_bounds_. | 85 // window(s) are maintained so they may not fill the target_bounds_. |
| 86 gfx::Rect bounds_; | 86 gfx::Rect bounds_; |
| 87 | 87 |
| 88 // True if running SetItemBounds. This prevents recursive calls resulting from | 88 // True if running SetItemBounds. This prevents recursive calls resulting from |
| 89 // the bounds update when calling views::corewm::RecreateWindowLayers to copy | 89 // the bounds update when calling ::wm::RecreateWindowLayers to copy |
| 90 // a window layer for display on another monitor. | 90 // a window layer for display on another monitor. |
| 91 bool in_bounds_update_; | 91 bool in_bounds_update_; |
| 92 | 92 |
| 93 DISALLOW_COPY_AND_ASSIGN(WindowSelectorItem); | 93 DISALLOW_COPY_AND_ASSIGN(WindowSelectorItem); |
| 94 }; | 94 }; |
| 95 | 95 |
| 96 } // namespace ash | 96 } // namespace ash |
| 97 | 97 |
| 98 #endif // ASH_WM_OVERVIEW_WINDOW_SELECTOR_ITEM_H_ | 98 #endif // ASH_WM_OVERVIEW_WINDOW_SELECTOR_ITEM_H_ |
| OLD | NEW |