| 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 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 // TODO(oshima): Define an interface to access shelf/launcher | 459 // TODO(oshima): Define an interface to access shelf/launcher |
| 460 // state, or just use Launcher. | 460 // state, or just use Launcher. |
| 461 | 461 |
| 462 // Sets/gets the shelf auto-hide behavior on |root_window|. | 462 // Sets/gets the shelf auto-hide behavior on |root_window|. |
| 463 void SetShelfAutoHideBehavior(ShelfAutoHideBehavior behavior, | 463 void SetShelfAutoHideBehavior(ShelfAutoHideBehavior behavior, |
| 464 aura::Window* root_window); | 464 aura::Window* root_window); |
| 465 ShelfAutoHideBehavior GetShelfAutoHideBehavior( | 465 ShelfAutoHideBehavior GetShelfAutoHideBehavior( |
| 466 aura::Window* root_window) const; | 466 aura::Window* root_window) const; |
| 467 | 467 |
| 468 // Sets/gets shelf's alignment on |root_window|. | 468 // Sets/gets shelf's alignment on |root_window|. |
| 469 void SetShelfAlignment(ShelfAlignment alignment, aura::Window* root_window); | 469 void SetShelfAlignment(wm::ShelfAlignment alignment, |
| 470 ShelfAlignment GetShelfAlignment(const aura::Window* root_window) const; | 470 aura::Window* root_window); |
| 471 wm::ShelfAlignment GetShelfAlignment(const aura::Window* root_window) const; |
| 471 | 472 |
| 472 // Called when the alignment for a shelf changes. | 473 // Called when the alignment for a shelf changes. |
| 473 void OnShelfAlignmentChanged(aura::Window* root_window); | 474 void OnShelfAlignmentChanged(aura::Window* root_window); |
| 474 | 475 |
| 475 // Called when the auto-hide behavior for a shelf changes. | 476 // Called when the auto-hide behavior for a shelf changes. |
| 476 void OnShelfAutoHideBehaviorChanged(aura::Window* root_window); | 477 void OnShelfAutoHideBehaviorChanged(aura::Window* root_window); |
| 477 | 478 |
| 478 // Notifies |observers_| when entering or exiting fullscreen mode in | 479 // Notifies |observers_| when entering or exiting fullscreen mode in |
| 479 // |root_window|. | 480 // |root_window|. |
| 480 void NotifyFullscreenStateChange(bool is_fullscreen, | 481 void NotifyFullscreenStateChange(bool is_fullscreen, |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 790 bool in_mus_ = false; | 791 bool in_mus_ = false; |
| 791 | 792 |
| 792 std::unique_ptr<KeyboardUI> keyboard_ui_; | 793 std::unique_ptr<KeyboardUI> keyboard_ui_; |
| 793 | 794 |
| 794 DISALLOW_COPY_AND_ASSIGN(Shell); | 795 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 795 }; | 796 }; |
| 796 | 797 |
| 797 } // namespace ash | 798 } // namespace ash |
| 798 | 799 |
| 799 #endif // ASH_SHELL_H_ | 800 #endif // ASH_SHELL_H_ |
| OLD | NEW |