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 | 42 |
43 // Overridden from BaseLayoutManager: | 43 // Overridden from BaseLayoutManager: |
44 virtual void OnWindowResized() OVERRIDE; | 44 virtual void OnWindowResized() OVERRIDE; |
45 virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE; | 45 virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE; |
46 virtual void OnWillRemoveWindowFromLayout(aura::Window* child) OVERRIDE; | 46 virtual void OnWillRemoveWindowFromLayout(aura::Window* child) OVERRIDE; |
47 virtual void OnChildWindowVisibilityChanged(aura::Window* child, | 47 virtual void OnChildWindowVisibilityChanged(aura::Window* child, |
48 bool visibile) OVERRIDE; | 48 bool visibile) OVERRIDE; |
49 virtual void SetChildBounds(aura::Window* child, | 49 virtual void SetChildBounds(aura::Window* child, |
50 const gfx::Rect& requested_bounds) OVERRIDE; | 50 const gfx::Rect& requested_bounds) OVERRIDE; |
51 virtual void OnMonitorWorkAreaInsetsChanged() OVERRIDE; | |
52 | 51 |
53 // Overriden from aura::WindowObserver: | 52 // Overriden from aura::WindowObserver: |
54 virtual void OnWindowPropertyChanged(aura::Window* window, | 53 virtual void OnWindowPropertyChanged(aura::Window* window, |
55 const void* key, | 54 const void* key, |
56 intptr_t old) OVERRIDE; | 55 intptr_t old) OVERRIDE; |
57 | 56 |
58 private: | 57 private: |
59 void ShowStateChanged( | 58 void ShowStateChanged( |
60 aura::Window* window, | 59 aura::Window* window, |
61 ui::WindowShowState last_show_state); | 60 ui::WindowShowState last_show_state); |
62 | 61 |
63 // Owned by WorkspaceController. | 62 // Owned by WorkspaceController. |
64 WorkspaceManager* workspace_manager_; | 63 WorkspaceManager* workspace_manager_; |
65 | 64 |
66 DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager); | 65 DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager); |
67 }; | 66 }; |
68 | 67 |
69 } // namespace internal | 68 } // namespace internal |
70 } // namespace ash | 69 } // namespace ash |
71 | 70 |
72 #endif // ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ | 71 #endif // ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ |
OLD | NEW |