Chromium Code Reviews| 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_WINDOW_SELECTOR_ITEM_H_ | 5 #ifndef ASH_COMMON_WM_OVERVIEW_WINDOW_SELECTOR_ITEM_H_ |
| 6 #define ASH_COMMON_WM_OVERVIEW_WINDOW_SELECTOR_ITEM_H_ | 6 #define ASH_COMMON_WM_OVERVIEW_WINDOW_SELECTOR_ITEM_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 133 OverviewAnimationType animation_type); | 133 OverviewAnimationType animation_type); |
| 134 | 134 |
| 135 // Creates the window label. | 135 // Creates the window label. |
| 136 void CreateWindowLabel(const base::string16& title); | 136 void CreateWindowLabel(const base::string16& title); |
| 137 | 137 |
| 138 // Updates the close button's and title label's bounds. Any change in bounds | 138 // Updates the close button's and title label's bounds. Any change in bounds |
| 139 // will be animated from the current bounds to the new bounds as per the | 139 // will be animated from the current bounds to the new bounds as per the |
| 140 // |animation_type|. | 140 // |animation_type|. |
| 141 void UpdateHeaderLayout(OverviewAnimationType animation_type); | 141 void UpdateHeaderLayout(OverviewAnimationType animation_type); |
| 142 | 142 |
| 143 // Animates opacity of the transformed window and its caption to |opacity| | |
|
tdanderson
2016/06/28 15:28:02
nit: "of |transform_window_| rather than 'of the t
varkha
2016/06/28 23:50:36
Done.
| |
| 144 // using |animation_type|. | |
| 145 void AnimateOpacity(float opacity, OverviewAnimationType animation_type); | |
| 146 | |
| 143 // Updates the close buttons accessibility name. | 147 // Updates the close buttons accessibility name. |
| 144 void UpdateCloseButtonAccessibilityName(); | 148 void UpdateCloseButtonAccessibilityName(); |
| 145 | 149 |
| 146 // True if the item is being shown in the overview, false if it's being | 150 // True if the item is being shown in the overview, false if it's being |
| 147 // filtered. | 151 // filtered. |
| 148 bool dimmed_; | 152 bool dimmed_; |
| 149 | 153 |
| 150 // The root window this item is being displayed on. | 154 // The root window this item is being displayed on. |
| 151 WmWindow* root_window_; | 155 WmWindow* root_window_; |
| 152 | 156 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 188 // Pointer to the WindowSelector that owns the WindowGrid containing |this|. | 192 // Pointer to the WindowSelector that owns the WindowGrid containing |this|. |
| 189 // Guaranteed to be non-null for the lifetime of |this|. | 193 // Guaranteed to be non-null for the lifetime of |this|. |
| 190 WindowSelector* window_selector_; | 194 WindowSelector* window_selector_; |
| 191 | 195 |
| 192 DISALLOW_COPY_AND_ASSIGN(WindowSelectorItem); | 196 DISALLOW_COPY_AND_ASSIGN(WindowSelectorItem); |
| 193 }; | 197 }; |
| 194 | 198 |
| 195 } // namespace ash | 199 } // namespace ash |
| 196 | 200 |
| 197 #endif // ASH_COMMON_WM_OVERVIEW_WINDOW_SELECTOR_ITEM_H_ | 201 #endif // ASH_COMMON_WM_OVERVIEW_WINDOW_SELECTOR_ITEM_H_ |
| OLD | NEW |