| 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_COMMON_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ | 5 #ifndef ASH_COMMON_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ |
| 6 #define ASH_COMMON_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ | 6 #define ASH_COMMON_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <set> | 9 #include <set> |
| 10 | 10 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 void OnWindowBoundsChanged(WmWindow* window, | 78 void OnWindowBoundsChanged(WmWindow* window, |
| 79 const gfx::Rect& old_bounds, | 79 const gfx::Rect& old_bounds, |
| 80 const gfx::Rect& new_bounds) override; | 80 const gfx::Rect& new_bounds) override; |
| 81 | 81 |
| 82 // WmActivationObserver overrides: | 82 // WmActivationObserver overrides: |
| 83 void OnWindowActivated(WmWindow* gained_active, | 83 void OnWindowActivated(WmWindow* gained_active, |
| 84 WmWindow* lost_active) override; | 84 WmWindow* lost_active) override; |
| 85 | 85 |
| 86 // keyboard::KeyboardControllerObserver overrides: | 86 // keyboard::KeyboardControllerObserver overrides: |
| 87 void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override; | 87 void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override; |
| 88 void OnKeyboardClosed() override {} |
| 88 | 89 |
| 89 // WindowStateObserver overrides: | 90 // WindowStateObserver overrides: |
| 90 void OnPostWindowStateTypeChange(wm::WindowState* window_state, | 91 void OnPostWindowStateTypeChange(wm::WindowState* window_state, |
| 91 wm::WindowStateType old_type) override; | 92 wm::WindowStateType old_type) override; |
| 92 | 93 |
| 93 // ShellObserver overrides: | 94 // ShellObserver overrides: |
| 94 void OnFullscreenStateChanged(bool is_fullscreen, WmWindow* root) override { | 95 void OnFullscreenStateChanged(bool is_fullscreen, WmWindow* root) override { |
| 95 // Do nothing. Fullscreen state change is observed by the | 96 // Do nothing. Fullscreen state change is observed by the |
| 96 // WmRootWindowControllerObserver::OnFullscreenStateChanged(). | 97 // WmRootWindowControllerObserver::OnFullscreenStateChanged(). |
| 97 // Because the name is conflicting, some compiler warns because this is | 98 // Because the name is conflicting, some compiler warns because this is |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 // A window which covers the full container and which gets inserted behind the | 142 // A window which covers the full container and which gets inserted behind the |
| 142 // topmost visible window. | 143 // topmost visible window. |
| 143 std::unique_ptr<WorkspaceLayoutManagerBackdropDelegate> backdrop_delegate_; | 144 std::unique_ptr<WorkspaceLayoutManagerBackdropDelegate> backdrop_delegate_; |
| 144 | 145 |
| 145 DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager); | 146 DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager); |
| 146 }; | 147 }; |
| 147 | 148 |
| 148 } // namespace ash | 149 } // namespace ash |
| 149 | 150 |
| 150 #endif // ASH_COMMON_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ | 151 #endif // ASH_COMMON_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ |
| OLD | NEW |