| 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/ash_export.h" | 10 #include "ash/ash_export.h" |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 const gfx::Rect& new_bounds) OVERRIDE; | 84 const gfx::Rect& new_bounds) OVERRIDE; |
| 85 | 85 |
| 86 // aura::client::ActivationChangeObserver overrides: | 86 // aura::client::ActivationChangeObserver overrides: |
| 87 virtual void OnWindowActivated(aura::Window* gained_active, | 87 virtual void OnWindowActivated(aura::Window* gained_active, |
| 88 aura::Window* lost_active) OVERRIDE; | 88 aura::Window* lost_active) OVERRIDE; |
| 89 | 89 |
| 90 // keyboard::KeyboardControllerObserver overrides: | 90 // keyboard::KeyboardControllerObserver overrides: |
| 91 virtual void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) OVERRIDE; | 91 virtual void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) OVERRIDE; |
| 92 | 92 |
| 93 // WindowStateObserver overrides: | 93 // WindowStateObserver overrides: |
| 94 virtual void OnPreWindowStateTypeChange( |
| 95 wm::WindowState* window_state, |
| 96 wm::WindowStateType old_type) OVERRIDE; |
| 97 |
| 94 virtual void OnPostWindowStateTypeChange( | 98 virtual void OnPostWindowStateTypeChange( |
| 95 wm::WindowState* window_state, | 99 wm::WindowState* window_state, |
| 96 wm::WindowStateType old_type) OVERRIDE; | 100 wm::WindowStateType old_type) OVERRIDE; |
| 97 | 101 |
| 98 private: | 102 private: |
| 99 typedef std::set<aura::Window*> WindowSet; | 103 typedef std::set<aura::Window*> WindowSet; |
| 100 | 104 |
| 101 // Adjusts the bounds of all managed windows when the display area changes. | 105 // Adjusts the bounds of all managed windows when the display area changes. |
| 102 // This happens when the display size, work area insets has changed. | 106 // This happens when the display size, work area insets has changed. |
| 103 // If this is called for a display size change (i.e. |event| | 107 // If this is called for a display size change (i.e. |event| |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 // A window which covers the full container and which gets inserted behind the | 146 // A window which covers the full container and which gets inserted behind the |
| 143 // topmost visible window. | 147 // topmost visible window. |
| 144 scoped_ptr<WorkspaceLayoutManagerDelegate> backdrop_delegate_; | 148 scoped_ptr<WorkspaceLayoutManagerDelegate> backdrop_delegate_; |
| 145 | 149 |
| 146 DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager); | 150 DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager); |
| 147 }; | 151 }; |
| 148 | 152 |
| 149 } // namespace ash | 153 } // namespace ash |
| 150 | 154 |
| 151 #endif // ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ | 155 #endif // ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ |
| OLD | NEW |