| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 const display::ManagedDisplayInfo& GetDisplayInfo( | 67 const display::ManagedDisplayInfo& GetDisplayInfo( |
| 68 int64_t display_id) const override; | 68 int64_t display_id) const override; |
| 69 bool IsActiveDisplayId(int64_t display_id) const override; | 69 bool IsActiveDisplayId(int64_t display_id) const override; |
| 70 display::Display GetFirstDisplay() const override; | 70 display::Display GetFirstDisplay() const override; |
| 71 bool IsInUnifiedMode() const override; | 71 bool IsInUnifiedMode() const override; |
| 72 bool IsInUnifiedModeIgnoreMirroring() const override; | 72 bool IsInUnifiedModeIgnoreMirroring() const override; |
| 73 void SetDisplayWorkAreaInsets(WmWindow* window, | 73 void SetDisplayWorkAreaInsets(WmWindow* window, |
| 74 const gfx::Insets& insets) override; | 74 const gfx::Insets& insets) override; |
| 75 void LockCursor() override; | 75 void LockCursor() override; |
| 76 void UnlockCursor() override; | 76 void UnlockCursor() override; |
| 77 void ShowCursor() override; |
| 78 void HideCursor() override; |
| 79 void SetGlobalOverrideCursor(base::Optional<ui::CursorData> cursor) override; |
| 77 bool IsMouseEventsEnabled() override; | 80 bool IsMouseEventsEnabled() override; |
| 78 std::vector<WmWindow*> GetAllRootWindows() override; | 81 std::vector<WmWindow*> GetAllRootWindows() override; |
| 79 void RecordGestureAction(GestureActionType action) override; | 82 void RecordGestureAction(GestureActionType action) override; |
| 80 void RecordUserMetricsAction(UserMetricsAction action) override; | 83 void RecordUserMetricsAction(UserMetricsAction action) override; |
| 81 void RecordTaskSwitchMetric(TaskSwitchSource source) override; | 84 void RecordTaskSwitchMetric(TaskSwitchSource source) override; |
| 82 std::unique_ptr<WindowResizer> CreateDragWindowResizer( | 85 std::unique_ptr<WindowResizer> CreateDragWindowResizer( |
| 83 std::unique_ptr<WindowResizer> next_window_resizer, | 86 std::unique_ptr<WindowResizer> next_window_resizer, |
| 84 wm::WindowState* window_state) override; | 87 wm::WindowState* window_state) override; |
| 85 std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter() | 88 std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter() |
| 86 override; | 89 override; |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 bool added_display_observer_ = false; | 161 bool added_display_observer_ = false; |
| 159 base::ObserverList<WmDisplayObserver> display_observers_; | 162 base::ObserverList<WmDisplayObserver> display_observers_; |
| 160 | 163 |
| 161 DISALLOW_COPY_AND_ASSIGN(ShellPortMash); | 164 DISALLOW_COPY_AND_ASSIGN(ShellPortMash); |
| 162 }; | 165 }; |
| 163 | 166 |
| 164 } // namespace mus | 167 } // namespace mus |
| 165 } // namespace ash | 168 } // namespace ash |
| 166 | 169 |
| 167 #endif // ASH_MUS_BRIDGE_SHELL_PORT_MASH_H_ | 170 #endif // ASH_MUS_BRIDGE_SHELL_PORT_MASH_H_ |
| OLD | NEW |