| 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 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 void UpdateShelfVisibility(); | 357 void UpdateShelfVisibility(); |
| 358 | 358 |
| 359 // Called when the alignment for a shelf changes. | 359 // Called when the alignment for a shelf changes. |
| 360 // TODO(jamescook): Move to Shelf. | 360 // TODO(jamescook): Move to Shelf. |
| 361 void OnShelfAlignmentChanged(WmWindow* root_window); | 361 void OnShelfAlignmentChanged(WmWindow* root_window); |
| 362 | 362 |
| 363 // Called when the auto-hide behavior for a shelf changes. | 363 // Called when the auto-hide behavior for a shelf changes. |
| 364 // TODO(jamescook): Move to Shelf. | 364 // TODO(jamescook): Move to Shelf. |
| 365 void OnShelfAutoHideBehaviorChanged(WmWindow* root_window); | 365 void OnShelfAutoHideBehaviorChanged(WmWindow* root_window); |
| 366 | 366 |
| 367 // Notifies |observers_| when entering or exiting fullscreen mode in | |
| 368 // |root_window|. | |
| 369 // TODO(hidehiko): Rename this to NotifyFullscreenStateChanged. | |
| 370 void NotifyFullscreenStateChange(bool is_fullscreen, WmWindow* root_window); | |
| 371 | |
| 372 // Creates a modal background (a partially-opaque fullscreen window) | 367 // Creates a modal background (a partially-opaque fullscreen window) |
| 373 // on all displays for |window|. | 368 // on all displays for |window|. |
| 374 void CreateModalBackground(aura::Window* window); | 369 void CreateModalBackground(aura::Window* window); |
| 375 | 370 |
| 376 // Called when a modal window is removed. It will activate | 371 // Called when a modal window is removed. It will activate |
| 377 // another modal window if any, or remove modal screens | 372 // another modal window if any, or remove modal screens |
| 378 // on all displays. | 373 // on all displays. |
| 379 void OnModalWindowRemoved(aura::Window* removed); | 374 void OnModalWindowRemoved(aura::Window* removed); |
| 380 | 375 |
| 381 // Returns WebNotificationTray on the primary root window. | 376 // Returns WebNotificationTray on the primary root window. |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 619 base::SequencedWorkerPool* blocking_pool_; | 614 base::SequencedWorkerPool* blocking_pool_; |
| 620 | 615 |
| 621 bool in_mus_ = false; | 616 bool in_mus_ = false; |
| 622 | 617 |
| 623 DISALLOW_COPY_AND_ASSIGN(Shell); | 618 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 624 }; | 619 }; |
| 625 | 620 |
| 626 } // namespace ash | 621 } // namespace ash |
| 627 | 622 |
| 628 #endif // ASH_SHELL_H_ | 623 #endif // ASH_SHELL_H_ |
| OLD | NEW |