| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "ash/wm/base_layout_manager.h" | 9 #include "ash/wm/base_layout_manager.h" |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 | 41 |
| 42 // Overridden from BaseLayoutManager: | 42 // Overridden from BaseLayoutManager: |
| 43 virtual void OnWindowResized() OVERRIDE; | 43 virtual void OnWindowResized() OVERRIDE; |
| 44 virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE; | 44 virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE; |
| 45 virtual void OnWillRemoveWindowFromLayout(aura::Window* child) OVERRIDE; | 45 virtual void OnWillRemoveWindowFromLayout(aura::Window* child) OVERRIDE; |
| 46 virtual void OnChildWindowVisibilityChanged(aura::Window* child, | 46 virtual void OnChildWindowVisibilityChanged(aura::Window* child, |
| 47 bool visibile) OVERRIDE; | 47 bool visibile) OVERRIDE; |
| 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 virtual void OnRootWindowResized(const gfx::Size& new_size) OVERRIDE; | 50 virtual void OnRootWindowResized(const gfx::Size& new_size) OVERRIDE; |
| 51 virtual void OnScreenWorkAreaInsetsChanged() OVERRIDE; | 51 virtual void OnMonitorWorkAreaInsetsChanged() OVERRIDE; |
| 52 | 52 |
| 53 // Overriden from aura::WindowObserver: | 53 // Overriden from aura::WindowObserver: |
| 54 virtual void OnWindowPropertyChanged(aura::Window* window, | 54 virtual void OnWindowPropertyChanged(aura::Window* window, |
| 55 const void* key, | 55 const void* key, |
| 56 intptr_t old) OVERRIDE; | 56 intptr_t old) OVERRIDE; |
| 57 | 57 |
| 58 private: | 58 private: |
| 59 // Owned by WorkspaceController. | 59 // Owned by WorkspaceController. |
| 60 WorkspaceManager* workspace_manager_; | 60 WorkspaceManager* workspace_manager_; |
| 61 | 61 |
| 62 DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager); | 62 DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager); |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 } // namespace internal | 65 } // namespace internal |
| 66 } // namespace ash | 66 } // namespace ash |
| 67 | 67 |
| 68 #endif // ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ | 68 #endif // ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ |
| OLD | NEW |