| 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_WM_BASE_LAYOUT_MANAGER_H_ | 5 #ifndef ASH_WM_BASE_LAYOUT_MANAGER_H_ |
| 6 #define ASH_WM_BASE_LAYOUT_MANAGER_H_ | 6 #define ASH_WM_BASE_LAYOUT_MANAGER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 | 10 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 virtual void OnChildWindowVisibilityChanged(aura::Window* child, | 50 virtual void OnChildWindowVisibilityChanged(aura::Window* child, |
| 51 bool visible) OVERRIDE; | 51 bool visible) OVERRIDE; |
| 52 virtual void SetChildBounds(aura::Window* child, | 52 virtual void SetChildBounds(aura::Window* child, |
| 53 const gfx::Rect& requested_bounds) OVERRIDE; | 53 const gfx::Rect& requested_bounds) OVERRIDE; |
| 54 | 54 |
| 55 // RootWindowObserver overrides: | 55 // RootWindowObserver overrides: |
| 56 virtual void OnRootWindowResized(const aura::RootWindow* root, | 56 virtual void OnRootWindowResized(const aura::RootWindow* root, |
| 57 const gfx::Size& old_size) OVERRIDE; | 57 const gfx::Size& old_size) OVERRIDE; |
| 58 | 58 |
| 59 // ash::ShellObserver overrides: | 59 // ash::ShellObserver overrides: |
| 60 virtual void OnMonitorWorkAreaInsetsChanged() OVERRIDE; | 60 virtual void OnDisplayWorkAreaInsetsChanged() OVERRIDE; |
| 61 | 61 |
| 62 // WindowObserver overrides: | 62 // WindowObserver overrides: |
| 63 virtual void OnWindowPropertyChanged(aura::Window* window, | 63 virtual void OnWindowPropertyChanged(aura::Window* window, |
| 64 const void* key, | 64 const void* key, |
| 65 intptr_t old) OVERRIDE; | 65 intptr_t old) OVERRIDE; |
| 66 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; | 66 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; |
| 67 | 67 |
| 68 protected: | 68 protected: |
| 69 // Invoked from OnWindowPropertyChanged() if |kShowStateKey| changes. | 69 // Invoked from OnWindowPropertyChanged() if |kShowStateKey| changes. |
| 70 virtual void ShowStateChanged(aura::Window* window, | 70 virtual void ShowStateChanged(aura::Window* window, |
| (...skipping 17 matching lines...) Expand all Loading... |
| 88 | 88 |
| 89 aura::RootWindow* root_window_; | 89 aura::RootWindow* root_window_; |
| 90 | 90 |
| 91 DISALLOW_COPY_AND_ASSIGN(BaseLayoutManager); | 91 DISALLOW_COPY_AND_ASSIGN(BaseLayoutManager); |
| 92 }; | 92 }; |
| 93 | 93 |
| 94 } // namespace internal | 94 } // namespace internal |
| 95 } // namespace ash | 95 } // namespace ash |
| 96 | 96 |
| 97 #endif // ASH_WM_BASE_LAYOUT_MANAGER_H_ | 97 #endif // ASH_WM_BASE_LAYOUT_MANAGER_H_ |
| OLD | NEW |