Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: ash/mus/bridge/shell_port_mash.h

Issue 2908793002: [mus+ash] Removes WmWindow from ash/wm/overview and ash/wm/workspace (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/aura/shell_port_classic.cc ('k') | ash/mus/bridge/shell_port_mash.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 void Shutdown() override; 63 void Shutdown() override;
64 Config GetAshConfig() const override; 64 Config GetAshConfig() const override;
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(aura::Window* window,
74 const gfx::Insets& insets) override; 74 const gfx::Insets& insets) override;
75 std::unique_ptr<display::TouchTransformSetter> CreateTouchTransformDelegate() 75 std::unique_ptr<display::TouchTransformSetter> CreateTouchTransformDelegate()
76 override; 76 override;
77 void LockCursor() override; 77 void LockCursor() override;
78 void UnlockCursor() override; 78 void UnlockCursor() override;
79 void ShowCursor() override; 79 void ShowCursor() override;
80 void HideCursor() override; 80 void HideCursor() override;
81 void SetGlobalOverrideCursor(base::Optional<ui::CursorData> cursor) override; 81 void SetGlobalOverrideCursor(base::Optional<ui::CursorData> cursor) override;
82 bool IsMouseEventsEnabled() override; 82 bool IsMouseEventsEnabled() override;
83 std::vector<WmWindow*> GetAllRootWindows() override; 83 std::vector<WmWindow*> GetAllRootWindows() override;
84 void RecordGestureAction(GestureActionType action) override; 84 void RecordGestureAction(GestureActionType action) override;
85 void RecordUserMetricsAction(UserMetricsAction action) override; 85 void RecordUserMetricsAction(UserMetricsAction action) override;
86 void RecordTaskSwitchMetric(TaskSwitchSource source) override; 86 void RecordTaskSwitchMetric(TaskSwitchSource source) override;
87 std::unique_ptr<WindowResizer> CreateDragWindowResizer( 87 std::unique_ptr<WindowResizer> CreateDragWindowResizer(
88 std::unique_ptr<WindowResizer> next_window_resizer, 88 std::unique_ptr<WindowResizer> next_window_resizer,
89 wm::WindowState* window_state) override; 89 wm::WindowState* window_state) override;
90 std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter() 90 std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter()
91 override; 91 override;
92 std::unique_ptr<wm::TabletModeEventHandler> CreateTabletModeEventHandler() 92 std::unique_ptr<wm::TabletModeEventHandler> CreateTabletModeEventHandler()
93 override; 93 override;
94 std::unique_ptr<WorkspaceEventHandler> CreateWorkspaceEventHandler( 94 std::unique_ptr<WorkspaceEventHandler> CreateWorkspaceEventHandler(
95 WmWindow* workspace_window) override; 95 aura::Window* workspace_window) override;
96 std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> 96 std::unique_ptr<ScopedDisableInternalMouseAndKeyboard>
97 CreateScopedDisableInternalMouseAndKeyboard() override; 97 CreateScopedDisableInternalMouseAndKeyboard() override;
98 std::unique_ptr<ImmersiveFullscreenController> 98 std::unique_ptr<ImmersiveFullscreenController>
99 CreateImmersiveFullscreenController() override; 99 CreateImmersiveFullscreenController() override;
100 std::unique_ptr<KeyboardUI> CreateKeyboardUI() override; 100 std::unique_ptr<KeyboardUI> CreateKeyboardUI() override;
101 std::unique_ptr<KeyEventWatcher> CreateKeyEventWatcher() override; 101 std::unique_ptr<KeyEventWatcher> CreateKeyEventWatcher() override;
102 SessionStateDelegate* GetSessionStateDelegate() override; 102 SessionStateDelegate* GetSessionStateDelegate() override;
103 void AddDisplayObserver(WmDisplayObserver* observer) override; 103 void AddDisplayObserver(WmDisplayObserver* observer) override;
104 void RemoveDisplayObserver(WmDisplayObserver* observer) override; 104 void RemoveDisplayObserver(WmDisplayObserver* observer) override;
105 void AddPointerWatcher(views::PointerWatcher* watcher, 105 void AddPointerWatcher(views::PointerWatcher* watcher,
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 bool added_display_observer_ = false; 163 bool added_display_observer_ = false;
164 base::ObserverList<WmDisplayObserver> display_observers_; 164 base::ObserverList<WmDisplayObserver> display_observers_;
165 165
166 DISALLOW_COPY_AND_ASSIGN(ShellPortMash); 166 DISALLOW_COPY_AND_ASSIGN(ShellPortMash);
167 }; 167 };
168 168
169 } // namespace mus 169 } // namespace mus
170 } // namespace ash 170 } // namespace ash
171 171
172 #endif // ASH_MUS_BRIDGE_SHELL_PORT_MASH_H_ 172 #endif // ASH_MUS_BRIDGE_SHELL_PORT_MASH_H_
OLDNEW
« no previous file with comments | « ash/aura/shell_port_classic.cc ('k') | ash/mus/bridge/shell_port_mash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698