| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 aura::Window* GetPrimaryRootWindow() override; | 65 aura::Window* GetPrimaryRootWindow() override; |
| 66 aura::Window* GetRootWindowForDisplayId(int64_t display_id) override; | 66 aura::Window* GetRootWindowForDisplayId(int64_t display_id) override; |
| 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 std::unique_ptr<display::TouchTransformSetter> CreateTouchTransformDelegate() |
| 76 override; |
| 75 void LockCursor() override; | 77 void LockCursor() override; |
| 76 void UnlockCursor() override; | 78 void UnlockCursor() override; |
| 77 void ShowCursor() override; | 79 void ShowCursor() override; |
| 78 void HideCursor() override; | 80 void HideCursor() override; |
| 79 void SetGlobalOverrideCursor(base::Optional<ui::CursorData> cursor) override; | 81 void SetGlobalOverrideCursor(base::Optional<ui::CursorData> cursor) override; |
| 80 bool IsMouseEventsEnabled() override; | 82 bool IsMouseEventsEnabled() override; |
| 81 std::vector<WmWindow*> GetAllRootWindows() override; | 83 std::vector<WmWindow*> GetAllRootWindows() override; |
| 82 void RecordGestureAction(GestureActionType action) override; | 84 void RecordGestureAction(GestureActionType action) override; |
| 83 void RecordUserMetricsAction(UserMetricsAction action) override; | 85 void RecordUserMetricsAction(UserMetricsAction action) override; |
| 84 void RecordTaskSwitchMetric(TaskSwitchSource source) override; | 86 void RecordTaskSwitchMetric(TaskSwitchSource source) override; |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 bool added_display_observer_ = false; | 163 bool added_display_observer_ = false; |
| 162 base::ObserverList<WmDisplayObserver> display_observers_; | 164 base::ObserverList<WmDisplayObserver> display_observers_; |
| 163 | 165 |
| 164 DISALLOW_COPY_AND_ASSIGN(ShellPortMash); | 166 DISALLOW_COPY_AND_ASSIGN(ShellPortMash); |
| 165 }; | 167 }; |
| 166 | 168 |
| 167 } // namespace mus | 169 } // namespace mus |
| 168 } // namespace ash | 170 } // namespace ash |
| 169 | 171 |
| 170 #endif // ASH_MUS_BRIDGE_SHELL_PORT_MASH_H_ | 172 #endif // ASH_MUS_BRIDGE_SHELL_PORT_MASH_H_ |
| OLD | NEW |