| 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_COMMON_WM_OVERVIEW_SCOPED_TRANSFORM_OVERVIEW_WINDOW_H_ | 5 #ifndef ASH_COMMON_WM_OVERVIEW_SCOPED_TRANSFORM_OVERVIEW_WINDOW_H_ |
| 6 #define ASH_COMMON_WM_OVERVIEW_SCOPED_TRANSFORM_OVERVIEW_WINDOW_H_ | 6 #define ASH_COMMON_WM_OVERVIEW_SCOPED_TRANSFORM_OVERVIEW_WINDOW_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 | 172 |
| 173 // Tracks if this window was ignored by the shelf. | 173 // Tracks if this window was ignored by the shelf. |
| 174 bool ignored_by_shelf_; | 174 bool ignored_by_shelf_; |
| 175 | 175 |
| 176 // True if the window has been transformed for overview mode. | 176 // True if the window has been transformed for overview mode. |
| 177 bool overview_started_; | 177 bool overview_started_; |
| 178 | 178 |
| 179 // The original transform of the window before entering overview mode. | 179 // The original transform of the window before entering overview mode. |
| 180 gfx::Transform original_transform_; | 180 gfx::Transform original_transform_; |
| 181 | 181 |
| 182 // The original opacity of the window before entering overview mode. |
| 183 float original_opacity_; |
| 184 |
| 182 // A window that holds the content for minimized window. | 185 // A window that holds the content for minimized window. |
| 183 std::unique_ptr<views::Widget> minimized_widget_; | 186 std::unique_ptr<views::Widget> minimized_widget_; |
| 184 | 187 |
| 185 base::WeakPtrFactory<ScopedTransformOverviewWindow> weak_ptr_factory_; | 188 base::WeakPtrFactory<ScopedTransformOverviewWindow> weak_ptr_factory_; |
| 186 | 189 |
| 187 DISALLOW_COPY_AND_ASSIGN(ScopedTransformOverviewWindow); | 190 DISALLOW_COPY_AND_ASSIGN(ScopedTransformOverviewWindow); |
| 188 }; | 191 }; |
| 189 | 192 |
| 190 } // namespace ash | 193 } // namespace ash |
| 191 | 194 |
| 192 #endif // ASH_COMMON_WM_OVERVIEW_SCOPED_TRANSFORM_OVERVIEW_WINDOW_H_ | 195 #endif // ASH_COMMON_WM_OVERVIEW_SCOPED_TRANSFORM_OVERVIEW_WINDOW_H_ |
| OLD | NEW |