| 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 <utility> |    8 #include <utility> | 
|    9 #include <vector> |    9 #include <vector> | 
|   10  |   10  | 
| (...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  463   ShelfAutoHideBehavior GetShelfAutoHideBehavior( |  463   ShelfAutoHideBehavior GetShelfAutoHideBehavior( | 
|  464       aura::Window* root_window) const; |  464       aura::Window* root_window) const; | 
|  465  |  465  | 
|  466   // Sets/gets shelf's alignment on |root_window|. |  466   // Sets/gets shelf's alignment on |root_window|. | 
|  467   void SetShelfAlignment(ShelfAlignment alignment, aura::Window* root_window); |  467   void SetShelfAlignment(ShelfAlignment alignment, aura::Window* root_window); | 
|  468   ShelfAlignment GetShelfAlignment(const aura::Window* root_window) const; |  468   ShelfAlignment GetShelfAlignment(const aura::Window* root_window) const; | 
|  469  |  469  | 
|  470   // Called when the alignment for a shelf changes. |  470   // Called when the alignment for a shelf changes. | 
|  471   void OnShelfAlignmentChanged(aura::Window* root_window); |  471   void OnShelfAlignmentChanged(aura::Window* root_window); | 
|  472  |  472  | 
 |  473   // Called when the auto-hide behavior for a shelf changes. | 
 |  474   void OnShelfAutoHideBehaviorChanged(aura::Window* root_window); | 
 |  475  | 
|  473   // Notifies |observers_| when entering or exiting fullscreen mode in |  476   // Notifies |observers_| when entering or exiting fullscreen mode in | 
|  474   // |root_window|. |  477   // |root_window|. | 
|  475   void NotifyFullscreenStateChange(bool is_fullscreen, |  478   void NotifyFullscreenStateChange(bool is_fullscreen, | 
|  476                                    aura::Window* root_window); |  479                                    aura::Window* root_window); | 
|  477  |  480  | 
|  478   // Creates a modal background (a partially-opaque fullscreen window) |  481   // Creates a modal background (a partially-opaque fullscreen window) | 
|  479   // on all displays for |window|. |  482   // on all displays for |window|. | 
|  480   void CreateModalBackground(aura::Window* window); |  483   void CreateModalBackground(aura::Window* window); | 
|  481  |  484  | 
|  482   // Called when a modal window is removed. It will activate |  485   // Called when a modal window is removed. It will activate | 
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  776   bool in_mus_ = false; |  779   bool in_mus_ = false; | 
|  777  |  780  | 
|  778   scoped_ptr<KeyboardUI> keyboard_ui_; |  781   scoped_ptr<KeyboardUI> keyboard_ui_; | 
|  779  |  782  | 
|  780   DISALLOW_COPY_AND_ASSIGN(Shell); |  783   DISALLOW_COPY_AND_ASSIGN(Shell); | 
|  781 }; |  784 }; | 
|  782  |  785  | 
|  783 }  // namespace ash |  786 }  // namespace ash | 
|  784  |  787  | 
|  785 #endif  // ASH_SHELL_H_ |  788 #endif  // ASH_SHELL_H_ | 
| OLD | NEW |