OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_MUS_BRIDGE_WM_SHELL_MUS_H_ | 5 #ifndef ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ |
6 #define ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ | 6 #define ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 | 46 |
47 // WmShell: | 47 // WmShell: |
48 MruWindowTracker* GetMruWindowTracker() override; | 48 MruWindowTracker* GetMruWindowTracker() override; |
49 WmWindow* NewContainerWindow() override; | 49 WmWindow* NewContainerWindow() override; |
50 WmWindow* GetFocusedWindow() override; | 50 WmWindow* GetFocusedWindow() override; |
51 WmWindow* GetActiveWindow() override; | 51 WmWindow* GetActiveWindow() override; |
52 WmWindow* GetPrimaryRootWindow() override; | 52 WmWindow* GetPrimaryRootWindow() override; |
53 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override; | 53 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override; |
54 WmWindow* GetRootWindowForNewWindows() override; | 54 WmWindow* GetRootWindowForNewWindows() override; |
55 bool IsForceMaximizeOnFirstRun() override; | 55 bool IsForceMaximizeOnFirstRun() override; |
| 56 bool IsPinned() override; |
56 bool CanShowWindowForUser(WmWindow* window) override; | 57 bool CanShowWindowForUser(WmWindow* window) override; |
57 void LockCursor() override; | 58 void LockCursor() override; |
58 void UnlockCursor() override; | 59 void UnlockCursor() override; |
59 std::vector<WmWindow*> GetAllRootWindows() override; | 60 std::vector<WmWindow*> GetAllRootWindows() override; |
60 void RecordUserMetricsAction(UserMetricsAction action) override; | 61 void RecordUserMetricsAction(UserMetricsAction action) override; |
61 std::unique_ptr<WindowResizer> CreateDragWindowResizer( | 62 std::unique_ptr<WindowResizer> CreateDragWindowResizer( |
62 std::unique_ptr<WindowResizer> next_window_resizer, | 63 std::unique_ptr<WindowResizer> next_window_resizer, |
63 wm::WindowState* window_state) override; | 64 wm::WindowState* window_state) override; |
64 void OnOverviewModeStarting() override; | 65 void OnOverviewModeStarting() override; |
65 void OnOverviewModeEnded() override; | 66 void OnOverviewModeEnded() override; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 | 99 |
99 base::ObserverList<WmActivationObserver> activation_observers_; | 100 base::ObserverList<WmActivationObserver> activation_observers_; |
100 | 101 |
101 DISALLOW_COPY_AND_ASSIGN(WmShellMus); | 102 DISALLOW_COPY_AND_ASSIGN(WmShellMus); |
102 }; | 103 }; |
103 | 104 |
104 } // namespace mus | 105 } // namespace mus |
105 } // namespace ash | 106 } // namespace ash |
106 | 107 |
107 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ | 108 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ |
OLD | NEW |