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

Side by Side Diff: ash/shell_port.h

Issue 2919533002: [mus+ash] removes WmWindow, wm_window.h and wm_window.cc (Closed)
Patch Set: [mus+ash] removes WmWindow, wm_window.h and wm_window.cc (fixes build) Created 3 years, 6 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/shell.cc ('k') | ash/shell_port.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_SHELL_PORT_H_ 5 #ifndef ASH_SHELL_PORT_H_
6 #define ASH_SHELL_PORT_H_ 6 #define ASH_SHELL_PORT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 struct AshWindowTreeHostInitParams; 45 struct AshWindowTreeHostInitParams;
46 class ImmersiveFullscreenController; 46 class ImmersiveFullscreenController;
47 class KeyEventWatcher; 47 class KeyEventWatcher;
48 class KeyboardUI; 48 class KeyboardUI;
49 class RootWindowController; 49 class RootWindowController;
50 class ScopedDisableInternalMouseAndKeyboard; 50 class ScopedDisableInternalMouseAndKeyboard;
51 struct ShellInitParams; 51 struct ShellInitParams;
52 class WindowCycleEventFilter; 52 class WindowCycleEventFilter;
53 class WindowResizer; 53 class WindowResizer;
54 class WmDisplayObserver; 54 class WmDisplayObserver;
55 class WmWindow;
56 class WorkspaceEventHandler; 55 class WorkspaceEventHandler;
57 56
58 enum class Config; 57 enum class Config;
59 enum class LoginStatus; 58 enum class LoginStatus;
60 enum class TaskSwitchSource; 59 enum class TaskSwitchSource;
61 60
62 namespace wm { 61 namespace wm {
63 class MaximizeModeEventHandler; 62 class MaximizeModeEventHandler;
64 class WindowState; 63 class WindowState;
65 } 64 }
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 138
140 // See aura::client::CursorClient for details on these. 139 // See aura::client::CursorClient for details on these.
141 virtual void LockCursor() = 0; 140 virtual void LockCursor() = 0;
142 virtual void UnlockCursor() = 0; 141 virtual void UnlockCursor() = 0;
143 virtual void ShowCursor() = 0; 142 virtual void ShowCursor() = 0;
144 virtual void HideCursor() = 0; 143 virtual void HideCursor() = 0;
145 virtual void SetGlobalOverrideCursor( 144 virtual void SetGlobalOverrideCursor(
146 base::Optional<ui::CursorData> cursor) = 0; 145 base::Optional<ui::CursorData> cursor) = 0;
147 virtual bool IsMouseEventsEnabled() = 0; 146 virtual bool IsMouseEventsEnabled() = 0;
148 147
149 virtual std::vector<WmWindow*> GetAllRootWindows() = 0; 148 virtual std::vector<aura::Window*> GetAllRootWindows() = 0;
150 149
151 virtual void RecordGestureAction(GestureActionType action) = 0; 150 virtual void RecordGestureAction(GestureActionType action) = 0;
152 virtual void RecordUserMetricsAction(UserMetricsAction action) = 0; 151 virtual void RecordUserMetricsAction(UserMetricsAction action) = 0;
153 virtual void RecordTaskSwitchMetric(TaskSwitchSource source) = 0; 152 virtual void RecordTaskSwitchMetric(TaskSwitchSource source) = 0;
154 153
155 // Shows the context menu for the wallpaper or shelf at |location_in_screen|. 154 // Shows the context menu for the wallpaper or shelf at |location_in_screen|.
156 void ShowContextMenu(const gfx::Point& location_in_screen, 155 void ShowContextMenu(const gfx::Point& location_in_screen,
157 ui::MenuSourceType source_type); 156 ui::MenuSourceType source_type);
158 157
159 // Returns a WindowResizer to handle dragging. |next_window_resizer| is 158 // Returns a WindowResizer to handle dragging. |next_window_resizer| is
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 static ShellPort* instance_; 245 static ShellPort* instance_;
247 246
248 base::ObserverList<LockStateObserver> lock_state_observers_; 247 base::ObserverList<LockStateObserver> lock_state_observers_;
249 248
250 bool simulate_modal_window_open_for_testing_ = false; 249 bool simulate_modal_window_open_for_testing_ = false;
251 }; 250 };
252 251
253 } // namespace ash 252 } // namespace ash
254 253
255 #endif // ASH_SHELL_PORT_H_ 254 #endif // ASH_SHELL_PORT_H_
OLDNEW
« no previous file with comments | « ash/shell.cc ('k') | ash/shell_port.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698