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

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

Issue 2222653002: Moves CustomFrameViewAsh to common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 4 years, 4 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
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 class ShellObserver; 48 class ShellObserver;
49 class SystemTrayDelegate; 49 class SystemTrayDelegate;
50 class SystemTrayNotifier; 50 class SystemTrayNotifier;
51 class ToastManager; 51 class ToastManager;
52 class WindowCycleController; 52 class WindowCycleController;
53 class WindowCycleEventFilter; 53 class WindowCycleEventFilter;
54 class WindowResizer; 54 class WindowResizer;
55 class WindowSelectorController; 55 class WindowSelectorController;
56 class WmActivationObserver; 56 class WmActivationObserver;
57 class WmDisplayObserver; 57 class WmDisplayObserver;
58 class WmImmersiveFullscreenController;
58 class WmWindow; 59 class WmWindow;
59 60
60 enum class TaskSwitchSource; 61 enum class TaskSwitchSource;
61 62
62 namespace wm { 63 namespace wm {
63 class MaximizeModeEventHandler; 64 class MaximizeModeEventHandler;
64 class WindowState; 65 class WindowState;
65 } 66 }
66 67
67 #if defined(OS_CHROMEOS) 68 #if defined(OS_CHROMEOS)
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 241
241 virtual std::unique_ptr<WindowCycleEventFilter> 242 virtual std::unique_ptr<WindowCycleEventFilter>
242 CreateWindowCycleEventFilter() = 0; 243 CreateWindowCycleEventFilter() = 0;
243 244
244 virtual std::unique_ptr<wm::MaximizeModeEventHandler> 245 virtual std::unique_ptr<wm::MaximizeModeEventHandler>
245 CreateMaximizeModeEventHandler() = 0; 246 CreateMaximizeModeEventHandler() = 0;
246 247
247 virtual std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> 248 virtual std::unique_ptr<ScopedDisableInternalMouseAndKeyboard>
248 CreateScopedDisableInternalMouseAndKeyboard() = 0; 249 CreateScopedDisableInternalMouseAndKeyboard() = 0;
249 250
251 virtual std::unique_ptr<WmImmersiveFullscreenController>
252 CreateImmersiveFullscreenController() = 0;
253
250 // Called after maximize mode has started, windows might still animate though. 254 // Called after maximize mode has started, windows might still animate though.
251 void OnMaximizeModeStarted(); 255 void OnMaximizeModeStarted();
252 256
253 // Called after maximize mode has ended, windows might still be returning to 257 // Called after maximize mode has ended, windows might still be returning to
254 // their original position. 258 // their original position.
255 void OnMaximizeModeEnded(); 259 void OnMaximizeModeEnded();
256 260
257 // Called when the overview mode is about to be started (before the windows 261 // Called when the overview mode is about to be started (before the windows
258 // get re-arranged). 262 // get re-arranged).
259 virtual void OnOverviewModeStarting() = 0; 263 virtual void OnOverviewModeStarting() = 0;
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 bool simulate_modal_window_open_for_testing_ = false; 378 bool simulate_modal_window_open_for_testing_ = false;
375 379
376 #if defined(OS_CHROMEOS) 380 #if defined(OS_CHROMEOS)
377 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_; 381 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_;
378 #endif 382 #endif
379 }; 383 };
380 384
381 } // namespace ash 385 } // namespace ash
382 386
383 #endif // ASH_COMMON_WM_SHELL_H_ 387 #endif // ASH_COMMON_WM_SHELL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698