Chromium Code Reviews| 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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 247 // list should be shown. If this is NULL, the active root window | 247 // list should be shown. If this is NULL, the active root window |
| 248 // will be used. | 248 // will be used. |
| 249 void ShowAppList(aura::Window* anchor); | 249 void ShowAppList(aura::Window* anchor); |
| 250 | 250 |
| 251 // Dismisses the app list. | 251 // Dismisses the app list. |
| 252 void DismissAppList(); | 252 void DismissAppList(); |
| 253 | 253 |
| 254 // Shows the app list if it's not visible. Dismisses it otherwise. | 254 // Shows the app list if it's not visible. Dismisses it otherwise. |
| 255 void ToggleAppList(aura::Window* anchor); | 255 void ToggleAppList(aura::Window* anchor); |
| 256 | 256 |
| 257 // Returns app list actual visibility. This might differ from | |
| 258 // GetAppListTargetVisibility() when hiding animation is still in flight. | |
| 259 bool IsApplistVisible() const; | |
|
James Cook
2016/06/23 20:08:08
I'm OK with this given the other 4 app-list method
mohsen
2016/06/27 22:17:10
Acknowledged.
| |
| 260 | |
| 257 // Returns app list target visibility. | 261 // Returns app list target visibility. |
| 258 bool GetAppListTargetVisibility() const; | 262 bool GetAppListTargetVisibility() const; |
| 259 | 263 |
| 260 // Creates a default views::NonClientFrameView for use by windows in the | 264 // Creates a default views::NonClientFrameView for use by windows in the |
| 261 // Ash environment. | 265 // Ash environment. |
| 262 views::NonClientFrameView* CreateDefaultNonClientFrameView( | 266 views::NonClientFrameView* CreateDefaultNonClientFrameView( |
| 263 views::Widget* widget); | 267 views::Widget* widget); |
| 264 | 268 |
| 265 // Sets the work area insets of the display that contains |window|, | 269 // Sets the work area insets of the display that contains |window|, |
| 266 // this notifies observers too. | 270 // this notifies observers too. |
| (...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 775 bool in_mus_ = false; | 779 bool in_mus_ = false; |
| 776 | 780 |
| 777 std::unique_ptr<KeyboardUI> keyboard_ui_; | 781 std::unique_ptr<KeyboardUI> keyboard_ui_; |
| 778 | 782 |
| 779 DISALLOW_COPY_AND_ASSIGN(Shell); | 783 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 780 }; | 784 }; |
| 781 | 785 |
| 782 } // namespace ash | 786 } // namespace ash |
| 783 | 787 |
| 784 #endif // ASH_SHELL_H_ | 788 #endif // ASH_SHELL_H_ |
| OLD | NEW |