OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_SHELL_H_ | 5 #ifndef ASH_SHELL_H_ |
6 #define ASH_SHELL_H_ | 6 #define ASH_SHELL_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 // list should be shown. If this is NULL, the active root window | 238 // list should be shown. If this is NULL, the active root window |
239 // will be used. | 239 // will be used. |
240 void ShowAppList(aura::Window* anchor); | 240 void ShowAppList(aura::Window* anchor); |
241 | 241 |
242 // Dismisses the app list. | 242 // Dismisses the app list. |
243 void DismissAppList(); | 243 void DismissAppList(); |
244 | 244 |
245 // Shows the app list if it's not visible. Dismisses it otherwise. | 245 // Shows the app list if it's not visible. Dismisses it otherwise. |
246 void ToggleAppList(aura::Window* anchor); | 246 void ToggleAppList(aura::Window* anchor); |
247 | 247 |
| 248 // Returns app list actual visibility. This might differ from |
| 249 // GetAppListTargetVisibility() when hiding animation is still in flight. |
| 250 bool IsApplistVisible() const; |
| 251 |
248 // Returns app list target visibility. | 252 // Returns app list target visibility. |
249 bool GetAppListTargetVisibility() const; | 253 bool GetAppListTargetVisibility() const; |
250 | 254 |
251 // Creates a default views::NonClientFrameView for use by windows in the | 255 // Creates a default views::NonClientFrameView for use by windows in the |
252 // Ash environment. | 256 // Ash environment. |
253 views::NonClientFrameView* CreateDefaultNonClientFrameView( | 257 views::NonClientFrameView* CreateDefaultNonClientFrameView( |
254 views::Widget* widget); | 258 views::Widget* widget); |
255 | 259 |
256 // Sets the work area insets of the display that contains |window|, | 260 // Sets the work area insets of the display that contains |window|, |
257 // this notifies observers too. | 261 // this notifies observers too. |
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
722 base::SequencedWorkerPool* blocking_pool_; | 726 base::SequencedWorkerPool* blocking_pool_; |
723 | 727 |
724 bool in_mus_ = false; | 728 bool in_mus_ = false; |
725 | 729 |
726 DISALLOW_COPY_AND_ASSIGN(Shell); | 730 DISALLOW_COPY_AND_ASSIGN(Shell); |
727 }; | 731 }; |
728 | 732 |
729 } // namespace ash | 733 } // namespace ash |
730 | 734 |
731 #endif // ASH_SHELL_H_ | 735 #endif // ASH_SHELL_H_ |
OLD | NEW |