| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 | 58 |
| 59 // ash::WindowSettings::Observer overrides: | 59 // ash::WindowSettings::Observer overrides: |
| 60 virtual void OnTrackedByWorkspaceChanged(wm::WindowState* window_state, | 60 virtual void OnTrackedByWorkspaceChanged(wm::WindowState* window_state, |
| 61 bool old) OVERRIDE; | 61 bool old) OVERRIDE; |
| 62 | 62 |
| 63 // aura::client::ActivationChangeObserver overrides: |
| 64 virtual void OnWindowActivated(aura::Window* gained_active, |
| 65 aura::Window* lost_active) OVERRIDE; |
| 66 |
| 63 // WindowStateObserver overrides: | 67 // WindowStateObserver overrides: |
| 64 virtual void OnWindowShowTypeChanged(wm::WindowState* window_state, | 68 virtual void OnWindowShowTypeChanged(wm::WindowState* window_state, |
| 65 wm::WindowShowType old_type) OVERRIDE; | 69 wm::WindowShowType old_type) OVERRIDE; |
| 66 | 70 |
| 67 private: | 71 private: |
| 68 // Overridden from BaseLayoutManager: | 72 // Overridden from BaseLayoutManager: |
| 69 virtual void ShowStateChanged(wm::WindowState* window_state, | 73 virtual void ShowStateChanged(wm::WindowState* window_state, |
| 70 ui::WindowShowState last_show_state) OVERRIDE; | 74 ui::WindowShowState last_show_state) OVERRIDE; |
| 71 virtual void AdjustAllWindowsBoundsForWorkAreaChange( | 75 virtual void AdjustAllWindowsBoundsForWorkAreaChange( |
| 72 AdjustWindowReason reason) OVERRIDE; | 76 AdjustWindowReason reason) OVERRIDE; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 101 // workspace switch. | 105 // workspace switch. |
| 102 gfx::Rect work_area_in_parent_; | 106 gfx::Rect work_area_in_parent_; |
| 103 | 107 |
| 104 DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager); | 108 DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager); |
| 105 }; | 109 }; |
| 106 | 110 |
| 107 } // namespace internal | 111 } // namespace internal |
| 108 } // namespace ash | 112 } // namespace ash |
| 109 | 113 |
| 110 #endif // ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ | 114 #endif // ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ |
| OLD | NEW |