OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_BACKDROP_DELEGATE_IMPL_H_ | 5 #ifndef ASH_WM_WORKSPACE_WORKSPACE_BACKDROP_DELEGATE_IMPL_H_ |
6 #define ASH_WM_WORKSPACE_WORKSPACE_BACKDROP_DELEGATE_IMPL_H_ | 6 #define ASH_WM_WORKSPACE_WORKSPACE_BACKDROP_DELEGATE_IMPL_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "ash/shell_observer.h" | 10 #include "ash/shell_observer.h" |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 | 56 |
57 void SetBackdropDelegate(std::unique_ptr<BackdropDelegate> delegate); | 57 void SetBackdropDelegate(std::unique_ptr<BackdropDelegate> delegate); |
58 | 58 |
59 // Update the visibility of, and restack the backdrop relative to | 59 // Update the visibility of, and restack the backdrop relative to |
60 // the other windows in the container. | 60 // the other windows in the container. |
61 void UpdateBackdrop(); | 61 void UpdateBackdrop(); |
62 | 62 |
63 // ShellObserver: | 63 // ShellObserver: |
64 void OnOverviewModeStarting() override; | 64 void OnOverviewModeStarting() override; |
65 void OnOverviewModeEnded() override; | 65 void OnOverviewModeEnded() override; |
| 66 void OnSplitViewModeStarting() override; |
| 67 void OnSplitViewModeEnded() override; |
66 | 68 |
67 // AccessibilityObserver: | 69 // AccessibilityObserver: |
68 void OnAccessibilityModeChanged( | 70 void OnAccessibilityModeChanged( |
69 AccessibilityNotificationVisibility notify) override; | 71 AccessibilityNotificationVisibility notify) override; |
70 | 72 |
71 private: | 73 private: |
72 friend class test::WorkspaceControllerTestApi; | 74 friend class test::WorkspaceControllerTestApi; |
73 | 75 |
74 void EnsureBackdropWidget(); | 76 void EnsureBackdropWidget(); |
75 | 77 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 // True to temporarily hide the backdrop. Used in | 109 // True to temporarily hide the backdrop. Used in |
108 // overview mode. | 110 // overview mode. |
109 bool force_hidden_ = false; | 111 bool force_hidden_ = false; |
110 | 112 |
111 DISALLOW_COPY_AND_ASSIGN(BackdropController); | 113 DISALLOW_COPY_AND_ASSIGN(BackdropController); |
112 }; | 114 }; |
113 | 115 |
114 } // namespace ash | 116 } // namespace ash |
115 | 117 |
116 #endif // ASH_WM_WORKSPACE_WORKSPACE_BACKDROP_DELEGATE_IMPL_H_ | 118 #endif // ASH_WM_WORKSPACE_WORKSPACE_BACKDROP_DELEGATE_IMPL_H_ |
OLD | NEW |