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_SHELL_PORT_MASH_H_ | 5 #ifndef ASH_MUS_BRIDGE_SHELL_PORT_MASH_H_ |
6 #define ASH_MUS_BRIDGE_SHELL_PORT_MASH_H_ | 6 #define ASH_MUS_BRIDGE_SHELL_PORT_MASH_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 void SetDisplayWorkAreaInsets(aura::Window* window, | 71 void SetDisplayWorkAreaInsets(aura::Window* window, |
72 const gfx::Insets& insets) override; | 72 const gfx::Insets& insets) override; |
73 std::unique_ptr<display::TouchTransformSetter> CreateTouchTransformDelegate() | 73 std::unique_ptr<display::TouchTransformSetter> CreateTouchTransformDelegate() |
74 override; | 74 override; |
75 void LockCursor() override; | 75 void LockCursor() override; |
76 void UnlockCursor() override; | 76 void UnlockCursor() override; |
77 void ShowCursor() override; | 77 void ShowCursor() override; |
78 void HideCursor() override; | 78 void HideCursor() override; |
79 void SetGlobalOverrideCursor(base::Optional<ui::CursorData> cursor) override; | 79 void SetGlobalOverrideCursor(base::Optional<ui::CursorData> cursor) override; |
80 bool IsMouseEventsEnabled() override; | 80 bool IsMouseEventsEnabled() override; |
81 std::vector<WmWindow*> GetAllRootWindows() override; | 81 std::vector<aura::Window*> GetAllRootWindows() override; |
82 void RecordGestureAction(GestureActionType action) override; | 82 void RecordGestureAction(GestureActionType action) override; |
83 void RecordUserMetricsAction(UserMetricsAction action) override; | 83 void RecordUserMetricsAction(UserMetricsAction action) override; |
84 void RecordTaskSwitchMetric(TaskSwitchSource source) override; | 84 void RecordTaskSwitchMetric(TaskSwitchSource source) override; |
85 std::unique_ptr<WindowResizer> CreateDragWindowResizer( | 85 std::unique_ptr<WindowResizer> CreateDragWindowResizer( |
86 std::unique_ptr<WindowResizer> next_window_resizer, | 86 std::unique_ptr<WindowResizer> next_window_resizer, |
87 wm::WindowState* window_state) override; | 87 wm::WindowState* window_state) override; |
88 std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter() | 88 std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter() |
89 override; | 89 override; |
90 std::unique_ptr<wm::MaximizeModeEventHandler> CreateMaximizeModeEventHandler() | 90 std::unique_ptr<wm::MaximizeModeEventHandler> CreateMaximizeModeEventHandler() |
91 override; | 91 override; |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 bool added_display_observer_ = false; | 160 bool added_display_observer_ = false; |
161 base::ObserverList<WmDisplayObserver> display_observers_; | 161 base::ObserverList<WmDisplayObserver> display_observers_; |
162 | 162 |
163 DISALLOW_COPY_AND_ASSIGN(ShellPortMash); | 163 DISALLOW_COPY_AND_ASSIGN(ShellPortMash); |
164 }; | 164 }; |
165 | 165 |
166 } // namespace mus | 166 } // namespace mus |
167 } // namespace ash | 167 } // namespace ash |
168 | 168 |
169 #endif // ASH_MUS_BRIDGE_SHELL_PORT_MASH_H_ | 169 #endif // ASH_MUS_BRIDGE_SHELL_PORT_MASH_H_ |
OLD | NEW |