| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_WM_LOCK_LAYOUT_MANAGER_H_ | 5 #ifndef ASH_WM_LOCK_LAYOUT_MANAGER_H_ |
| 6 #define ASH_WM_LOCK_LAYOUT_MANAGER_H_ | 6 #define ASH_WM_LOCK_LAYOUT_MANAGER_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/shell_observer.h" | 9 #include "ash/shell_observer.h" |
| 10 #include "ash/wm/wm_snap_to_pixel_layout_manager.h" | 10 #include "ash/wm/wm_snap_to_pixel_layout_manager.h" |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 public: | 41 public: |
| 42 explicit LockLayoutManager(aura::Window* window); | 42 explicit LockLayoutManager(aura::Window* window); |
| 43 ~LockLayoutManager() override; | 43 ~LockLayoutManager() override; |
| 44 | 44 |
| 45 // Overridden from WmSnapToPixelLayoutManager: | 45 // Overridden from WmSnapToPixelLayoutManager: |
| 46 void OnWindowResized() override; | 46 void OnWindowResized() override; |
| 47 void OnWindowAddedToLayout(aura::Window* child) override; | 47 void OnWindowAddedToLayout(aura::Window* child) override; |
| 48 void OnWillRemoveWindowFromLayout(aura::Window* child) override; | 48 void OnWillRemoveWindowFromLayout(aura::Window* child) override; |
| 49 void OnWindowRemovedFromLayout(aura::Window* child) override; | 49 void OnWindowRemovedFromLayout(aura::Window* child) override; |
| 50 void OnChildWindowVisibilityChanged(aura::Window* child, | 50 void OnChildWindowVisibilityChanged(aura::Window* child, |
| 51 bool visibile) override; | 51 bool visible) override; |
| 52 void SetChildBounds(aura::Window* child, | 52 void SetChildBounds(aura::Window* child, |
| 53 const gfx::Rect& requested_bounds) override; | 53 const gfx::Rect& requested_bounds) override; |
| 54 | 54 |
| 55 // Overriden from aura::WindowObserver: | 55 // Overriden from aura::WindowObserver: |
| 56 void OnWindowDestroying(aura::Window* window) override; | 56 void OnWindowDestroying(aura::Window* window) override; |
| 57 void OnWindowBoundsChanged(aura::Window* window, | 57 void OnWindowBoundsChanged(aura::Window* window, |
| 58 const gfx::Rect& old_bounds, | 58 const gfx::Rect& old_bounds, |
| 59 const gfx::Rect& new_bounds) override; | 59 const gfx::Rect& new_bounds) override; |
| 60 | 60 |
| 61 // ShellObserver: | 61 // ShellObserver: |
| (...skipping 18 matching lines...) Expand all Loading... |
| 80 | 80 |
| 81 // The bounds of the keyboard. | 81 // The bounds of the keyboard. |
| 82 gfx::Rect keyboard_bounds_; | 82 gfx::Rect keyboard_bounds_; |
| 83 | 83 |
| 84 DISALLOW_COPY_AND_ASSIGN(LockLayoutManager); | 84 DISALLOW_COPY_AND_ASSIGN(LockLayoutManager); |
| 85 }; | 85 }; |
| 86 | 86 |
| 87 } // namespace ash | 87 } // namespace ash |
| 88 | 88 |
| 89 #endif // ASH_WM_LOCK_LAYOUT_MANAGER_H_ | 89 #endif // ASH_WM_LOCK_LAYOUT_MANAGER_H_ |
| OLD | NEW |