| 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_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ | 5 #ifndef ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ |
| 6 #define ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ | 6 #define ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "ash/shell_observer.h" | 10 #include "ash/shell_observer.h" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 virtual void SetChildBounds(aura::Window* child, | 48 virtual void SetChildBounds(aura::Window* child, |
| 49 const gfx::Rect& requested_bounds) OVERRIDE; | 49 const gfx::Rect& requested_bounds) OVERRIDE; |
| 50 | 50 |
| 51 // ash::ShellObserver overrides: | 51 // ash::ShellObserver overrides: |
| 52 virtual void OnDisplayWorkAreaInsetsChanged() OVERRIDE; | 52 virtual void OnDisplayWorkAreaInsetsChanged() OVERRIDE; |
| 53 | 53 |
| 54 // Overriden from WindowObserver: | 54 // Overriden from WindowObserver: |
| 55 virtual void OnWindowPropertyChanged(aura::Window* window, | 55 virtual void OnWindowPropertyChanged(aura::Window* window, |
| 56 const void* key, | 56 const void* key, |
| 57 intptr_t old) OVERRIDE; | 57 intptr_t old) OVERRIDE; |
| 58 virtual void OnWindowStackingChanged(aura::Window* window) OVERRIDE; |
| 58 | 59 |
| 59 // ash::WindowSettings::Observer overrides: | 60 // ash::WindowSettings::Observer overrides: |
| 60 virtual void OnTrackedByWorkspaceChanged(wm::WindowState* window_state, | 61 virtual void OnTrackedByWorkspaceChanged(wm::WindowState* window_state, |
| 61 bool old) OVERRIDE; | 62 bool old) OVERRIDE; |
| 62 | 63 |
| 63 // WindowStateObserver overrides: | 64 // WindowStateObserver overrides: |
| 64 virtual void OnWindowShowTypeChanged(wm::WindowState* window_state, | 65 virtual void OnWindowShowTypeChanged(wm::WindowState* window_state, |
| 65 wm::WindowShowType old_type) OVERRIDE; | 66 wm::WindowShowType old_type) OVERRIDE; |
| 66 | 67 |
| 67 private: | 68 private: |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 // workspace switch. | 102 // workspace switch. |
| 102 gfx::Rect work_area_in_parent_; | 103 gfx::Rect work_area_in_parent_; |
| 103 | 104 |
| 104 DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager); | 105 DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager); |
| 105 }; | 106 }; |
| 106 | 107 |
| 107 } // namespace internal | 108 } // namespace internal |
| 108 } // namespace ash | 109 } // namespace ash |
| 109 | 110 |
| 110 #endif // ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ | 111 #endif // ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ |
| OLD | NEW |