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

Side by Side Diff: ash/shell.h

Issue 2118643002: Move MaximizeModeController into ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: doh Created 4 years, 5 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/mus/bridge/wm_shell_mus.cc ('k') | ash/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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_H_ 5 #ifndef ASH_SHELL_H_
6 #define ASH_SHELL_H_ 6 #define ASH_SHELL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 // Called when the application is exiting. 273 // Called when the application is exiting.
274 void OnAppTerminating(); 274 void OnAppTerminating();
275 275
276 // Called when the screen is locked (after the lock window is visible) or 276 // Called when the screen is locked (after the lock window is visible) or
277 // unlocked. 277 // unlocked.
278 void OnLockStateChanged(bool locked); 278 void OnLockStateChanged(bool locked);
279 279
280 // Called when a casting session is started or stopped. 280 // Called when a casting session is started or stopped.
281 void OnCastingSessionStartedOrStopped(bool started); 281 void OnCastingSessionStartedOrStopped(bool started);
282 282
283 // Called after maximize mode has started, windows might still animate though.
284 void OnMaximizeModeStarted();
285
286 // Called after maximize mode has ended, windows might still be returning to
287 // their original position.
288 void OnMaximizeModeEnded();
289
290 // Called when a root window is created. 283 // Called when a root window is created.
291 void OnRootWindowAdded(WmWindow* root_window); 284 void OnRootWindowAdded(WmWindow* root_window);
292 285
293 // Initializes |shelf_|. Does nothing if it's already initialized. 286 // Initializes |shelf_|. Does nothing if it's already initialized.
294 void CreateShelf(); 287 void CreateShelf();
295 288
296 // Called when the shelf is created for |root_window|. 289 // Called when the shelf is created for |root_window|.
297 void OnShelfCreatedForRootWindow(WmWindow* root_window); 290 void OnShelfCreatedForRootWindow(WmWindow* root_window);
298 291
299 // Creates a virtual keyboard. Deletes the old virtual keyboard if it already 292 // Creates a virtual keyboard. Deletes the old virtual keyboard if it already
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 base::SequencedWorkerPool* blocking_pool_; 715 base::SequencedWorkerPool* blocking_pool_;
723 716
724 bool in_mus_ = false; 717 bool in_mus_ = false;
725 718
726 DISALLOW_COPY_AND_ASSIGN(Shell); 719 DISALLOW_COPY_AND_ASSIGN(Shell);
727 }; 720 };
728 721
729 } // namespace ash 722 } // namespace ash
730 723
731 #endif // ASH_SHELL_H_ 724 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/mus/bridge/wm_shell_mus.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698