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_SCOPED_TRANSFORM_OVERVIEW_WINDOW_H_ | 5 #ifndef ASH_WM_OVERVIEW_SCOPED_TRANSFORM_OVERVIEW_WINDOW_H_ |
6 #define ASH_WM_OVERVIEW_SCOPED_TRANSFORM_OVERVIEW_WINDOW_H_ | 6 #define ASH_WM_OVERVIEW_SCOPED_TRANSFORM_OVERVIEW_WINDOW_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/scoped_vector.h" | 10 #include "base/memory/scoped_vector.h" |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 | 105 |
106 // Tracks if this window was ignored by the shelf. | 106 // Tracks if this window was ignored by the shelf. |
107 bool ignored_by_shelf_; | 107 bool ignored_by_shelf_; |
108 | 108 |
109 // True if the window has been transformed for overview mode. | 109 // True if the window has been transformed for overview mode. |
110 bool overview_started_; | 110 bool overview_started_; |
111 | 111 |
112 // The original transform of the window before entering overview mode. | 112 // The original transform of the window before entering overview mode. |
113 gfx::Transform original_transform_; | 113 gfx::Transform original_transform_; |
114 | 114 |
| 115 // The original opacity of the window before entering overview mode. |
| 116 float opacity_; |
| 117 |
115 DISALLOW_COPY_AND_ASSIGN(ScopedTransformOverviewWindow); | 118 DISALLOW_COPY_AND_ASSIGN(ScopedTransformOverviewWindow); |
116 }; | 119 }; |
117 | 120 |
118 } // namespace ash | 121 } // namespace ash |
119 | 122 |
120 #endif // ASH_WM_OVERVIEW_SCOPED_TRANSFORM_OVERVIEW_WINDOW_H_ | 123 #endif // ASH_WM_OVERVIEW_SCOPED_TRANSFORM_OVERVIEW_WINDOW_H_ |
OLD | NEW |