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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 // list should be shown. If this is NULL, the active root window | 241 // list should be shown. If this is NULL, the active root window |
242 // will be used. | 242 // will be used. |
243 void ShowAppList(aura::Window* anchor); | 243 void ShowAppList(aura::Window* anchor); |
244 | 244 |
245 // Dismisses the app list. | 245 // Dismisses the app list. |
246 void DismissAppList(); | 246 void DismissAppList(); |
247 | 247 |
248 // Shows the app list if it's not visible. Dismisses it otherwise. | 248 // Shows the app list if it's not visible. Dismisses it otherwise. |
249 void ToggleAppList(aura::Window* anchor); | 249 void ToggleAppList(aura::Window* anchor); |
250 | 250 |
| 251 // Returns app list actual visibility. This might differ from |
| 252 // GetAppListTargetVisibility() when hiding animation is still in flight. |
| 253 bool IsApplistVisible() const; |
| 254 |
251 // Returns app list target visibility. | 255 // Returns app list target visibility. |
252 bool GetAppListTargetVisibility() const; | 256 bool GetAppListTargetVisibility() const; |
253 | 257 |
254 // Creates a default views::NonClientFrameView for use by windows in the | 258 // Creates a default views::NonClientFrameView for use by windows in the |
255 // Ash environment. | 259 // Ash environment. |
256 views::NonClientFrameView* CreateDefaultNonClientFrameView( | 260 views::NonClientFrameView* CreateDefaultNonClientFrameView( |
257 views::Widget* widget); | 261 views::Widget* widget); |
258 | 262 |
259 // Sets the work area insets of the display that contains |window|, | 263 // Sets the work area insets of the display that contains |window|, |
260 // this notifies observers too. | 264 // this notifies observers too. |
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
732 base::SequencedWorkerPool* blocking_pool_; | 736 base::SequencedWorkerPool* blocking_pool_; |
733 | 737 |
734 bool in_mus_ = false; | 738 bool in_mus_ = false; |
735 | 739 |
736 DISALLOW_COPY_AND_ASSIGN(Shell); | 740 DISALLOW_COPY_AND_ASSIGN(Shell); |
737 }; | 741 }; |
738 | 742 |
739 } // namespace ash | 743 } // namespace ash |
740 | 744 |
741 #endif // ASH_SHELL_H_ | 745 #endif // ASH_SHELL_H_ |
OLD | NEW |