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

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

Issue 2234033002: mash: Remove WorkspaceLayoutManagerDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove WmRootWindowControllerObserver::OnFullscreenStateChanged; use ShellObserver. 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
« no previous file with comments | « ash/common/wm_root_window_controller_observer.h ('k') | ash/common/wm_shell.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_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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 // their original position. 276 // their original position.
277 void OnMaximizeModeEnded(); 277 void OnMaximizeModeEnded();
278 278
279 // Called when the overview mode is about to be started (before the windows 279 // Called when the overview mode is about to be started (before the windows
280 // get re-arranged). 280 // get re-arranged).
281 virtual void OnOverviewModeStarting() = 0; 281 virtual void OnOverviewModeStarting() = 0;
282 282
283 // Called after overview mode has ended. 283 // Called after overview mode has ended.
284 virtual void OnOverviewModeEnded() = 0; 284 virtual void OnOverviewModeEnded() = 0;
285 285
286 // Notifies observers after toggling fullscreen mode in |root_window|.
287 void NotifyFullscreenStateChanged(bool is_fullscreen, WmWindow* root_window);
288
286 // Notifies |observers_| when entering or exiting pinned mode for 289 // Notifies |observers_| when entering or exiting pinned mode for
287 // |pinned_window|. Entering or exiting can be checked by looking at 290 // |pinned_window|. Entering or exiting can be checked by looking at
288 // |pinned_window|'s window state. 291 // |pinned_window|'s window state.
289 void NotifyPinnedStateChanged(WmWindow* pinned_window); 292 void NotifyPinnedStateChanged(WmWindow* pinned_window);
290 293
291 // Called when virtual keyboard has been activated/deactivated. 294 // Called when virtual keyboard has been activated/deactivated.
292 void OnVirtualKeyboardActivated(bool activated); 295 void OnVirtualKeyboardActivated(bool activated);
293 296
294 virtual SessionStateDelegate* GetSessionStateDelegate() = 0; 297 virtual SessionStateDelegate* GetSessionStateDelegate() = 0;
295 298
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 bool simulate_modal_window_open_for_testing_ = false; 399 bool simulate_modal_window_open_for_testing_ = false;
397 400
398 #if defined(OS_CHROMEOS) 401 #if defined(OS_CHROMEOS)
399 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_; 402 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_;
400 #endif 403 #endif
401 }; 404 };
402 405
403 } // namespace ash 406 } // namespace ash
404 407
405 #endif // ASH_COMMON_WM_SHELL_H_ 408 #endif // ASH_COMMON_WM_SHELL_H_
OLDNEW
« no previous file with comments | « ash/common/wm_root_window_controller_observer.h ('k') | ash/common/wm_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698