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

Side by Side Diff: ash/common/wm_shell.h

Issue 2285703003: Moves WorkspaceEventHandler to ash/common (Closed)
Patch Set: merge 2 trunk Created 4 years, 3 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/common/wm/workspace/workspace_event_handler_test_helper.cc ('k') | ash/common/wm_window.h » ('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_COMMON_WM_SHELL_H_ 5 #ifndef ASH_COMMON_WM_SHELL_H_
6 #define ASH_COMMON_WM_SHELL_H_ 6 #define ASH_COMMON_WM_SHELL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 class SystemTrayNotifier; 57 class SystemTrayNotifier;
58 class ToastManager; 58 class ToastManager;
59 class WallpaperDelegate; 59 class WallpaperDelegate;
60 class WindowCycleController; 60 class WindowCycleController;
61 class WindowCycleEventFilter; 61 class WindowCycleEventFilter;
62 class WindowResizer; 62 class WindowResizer;
63 class WindowSelectorController; 63 class WindowSelectorController;
64 class WmActivationObserver; 64 class WmActivationObserver;
65 class WmDisplayObserver; 65 class WmDisplayObserver;
66 class WmWindow; 66 class WmWindow;
67 class WorkspaceEventHandler;
67 68
68 enum class TaskSwitchSource; 69 enum class TaskSwitchSource;
69 70
70 namespace wm { 71 namespace wm {
71 class MaximizeModeEventHandler; 72 class MaximizeModeEventHandler;
72 class WindowState; 73 class WindowState;
73 } 74 }
74 75
75 #if defined(OS_CHROMEOS) 76 #if defined(OS_CHROMEOS)
76 class LogoutConfirmationController; 77 class LogoutConfirmationController;
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 virtual std::unique_ptr<WindowResizer> CreateDragWindowResizer( 264 virtual std::unique_ptr<WindowResizer> CreateDragWindowResizer(
264 std::unique_ptr<WindowResizer> next_window_resizer, 265 std::unique_ptr<WindowResizer> next_window_resizer,
265 wm::WindowState* window_state) = 0; 266 wm::WindowState* window_state) = 0;
266 267
267 virtual std::unique_ptr<WindowCycleEventFilter> 268 virtual std::unique_ptr<WindowCycleEventFilter>
268 CreateWindowCycleEventFilter() = 0; 269 CreateWindowCycleEventFilter() = 0;
269 270
270 virtual std::unique_ptr<wm::MaximizeModeEventHandler> 271 virtual std::unique_ptr<wm::MaximizeModeEventHandler>
271 CreateMaximizeModeEventHandler() = 0; 272 CreateMaximizeModeEventHandler() = 0;
272 273
274 virtual std::unique_ptr<WorkspaceEventHandler> CreateWorkspaceEventHandler(
275 WmWindow* workspace_window) = 0;
276
273 virtual std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> 277 virtual std::unique_ptr<ScopedDisableInternalMouseAndKeyboard>
274 CreateScopedDisableInternalMouseAndKeyboard() = 0; 278 CreateScopedDisableInternalMouseAndKeyboard() = 0;
275 279
276 virtual std::unique_ptr<ImmersiveFullscreenController> 280 virtual std::unique_ptr<ImmersiveFullscreenController>
277 CreateImmersiveFullscreenController() = 0; 281 CreateImmersiveFullscreenController() = 0;
278 282
279 void CreateShelfDelegate(); 283 void CreateShelfDelegate();
280 284
281 // Called after maximize mode has started, windows might still animate though. 285 // Called after maximize mode has started, windows might still animate though.
282 void OnMaximizeModeStarted(); 286 void OnMaximizeModeStarted();
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 bool simulate_modal_window_open_for_testing_ = false; 428 bool simulate_modal_window_open_for_testing_ = false;
425 429
426 #if defined(OS_CHROMEOS) 430 #if defined(OS_CHROMEOS)
427 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_; 431 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_;
428 #endif 432 #endif
429 }; 433 };
430 434
431 } // namespace ash 435 } // namespace ash
432 436
433 #endif // ASH_COMMON_WM_SHELL_H_ 437 #endif // ASH_COMMON_WM_SHELL_H_
OLDNEW
« no previous file with comments | « ash/common/wm/workspace/workspace_event_handler_test_helper.cc ('k') | ash/common/wm_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698