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 <memory> | 8 #include <memory> |
9 #include <set> | 9 #include <set> |
10 | 10 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 // WindowStateObserver overrides: | 91 // WindowStateObserver overrides: |
92 void OnPostWindowStateTypeChange(wm::WindowState* window_state, | 92 void OnPostWindowStateTypeChange(wm::WindowState* window_state, |
93 wm::WindowStateType old_type) override; | 93 wm::WindowStateType old_type) override; |
94 | 94 |
95 // display::DisplayObserver overrides: | 95 // display::DisplayObserver overrides: |
96 void OnDisplayMetricsChanged(const display::Display& display, | 96 void OnDisplayMetricsChanged(const display::Display& display, |
97 uint32_t changed_metrics) override; | 97 uint32_t changed_metrics) override; |
98 | 98 |
99 // ShellObserver overrides: | 99 // ShellObserver overrides: |
100 void OnFullscreenStateChanged(bool is_fullscreen, | 100 void OnFullscreenStateChanged(bool is_fullscreen, |
101 WmWindow* root_window) override; | 101 aura::Window* root_window) override; |
102 void OnPinnedStateChanged(aura::Window* pinned_window) override; | 102 void OnPinnedStateChanged(aura::Window* pinned_window) override; |
103 void OnVirtualKeyboardStateChanged(bool activated, | 103 void OnVirtualKeyboardStateChanged(bool activated, |
104 aura::Window* root_window) override; | 104 aura::Window* root_window) override; |
105 | 105 |
106 private: | 106 private: |
107 friend class test::WorkspaceControllerTestApi; | 107 friend class test::WorkspaceControllerTestApi; |
108 typedef std::set<aura::Window*> WindowSet; | 108 typedef std::set<aura::Window*> WindowSet; |
109 | 109 |
110 // Adjusts the bounds of all managed windows when the display area changes. | 110 // Adjusts the bounds of all managed windows when the display area changes. |
111 // This happens when the display size, work area insets has changed. | 111 // This happens when the display size, work area insets has changed. |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 ScopedObserver<keyboard::KeyboardController, | 147 ScopedObserver<keyboard::KeyboardController, |
148 keyboard::KeyboardControllerObserver> | 148 keyboard::KeyboardControllerObserver> |
149 keyboard_observer_; | 149 keyboard_observer_; |
150 | 150 |
151 DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager); | 151 DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager); |
152 }; | 152 }; |
153 | 153 |
154 } // namespace ash | 154 } // namespace ash |
155 | 155 |
156 #endif // ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ | 156 #endif // ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ |
OLD | NEW |