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

Side by Side Diff: ash/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/root_window_controller.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 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 void UpdateShelfVisibility(); 357 void UpdateShelfVisibility();
358 358
359 // Called when the alignment for a shelf changes. 359 // Called when the alignment for a shelf changes.
360 // TODO(jamescook): Move to Shelf. 360 // TODO(jamescook): Move to Shelf.
361 void OnShelfAlignmentChanged(WmWindow* root_window); 361 void OnShelfAlignmentChanged(WmWindow* root_window);
362 362
363 // Called when the auto-hide behavior for a shelf changes. 363 // Called when the auto-hide behavior for a shelf changes.
364 // TODO(jamescook): Move to Shelf. 364 // TODO(jamescook): Move to Shelf.
365 void OnShelfAutoHideBehaviorChanged(WmWindow* root_window); 365 void OnShelfAutoHideBehaviorChanged(WmWindow* root_window);
366 366
367 // Notifies |observers_| when entering or exiting fullscreen mode in
368 // |root_window|.
369 // TODO(hidehiko): Rename this to NotifyFullscreenStateChanged.
370 void NotifyFullscreenStateChange(bool is_fullscreen, WmWindow* root_window);
371
372 // Creates a modal background (a partially-opaque fullscreen window) 367 // Creates a modal background (a partially-opaque fullscreen window)
373 // on all displays for |window|. 368 // on all displays for |window|.
374 void CreateModalBackground(aura::Window* window); 369 void CreateModalBackground(aura::Window* window);
375 370
376 // Called when a modal window is removed. It will activate 371 // Called when a modal window is removed. It will activate
377 // another modal window if any, or remove modal screens 372 // another modal window if any, or remove modal screens
378 // on all displays. 373 // on all displays.
379 void OnModalWindowRemoved(aura::Window* removed); 374 void OnModalWindowRemoved(aura::Window* removed);
380 375
381 // Returns WebNotificationTray on the primary root window. 376 // Returns WebNotificationTray on the primary root window.
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
619 base::SequencedWorkerPool* blocking_pool_; 614 base::SequencedWorkerPool* blocking_pool_;
620 615
621 bool in_mus_ = false; 616 bool in_mus_ = false;
622 617
623 DISALLOW_COPY_AND_ASSIGN(Shell); 618 DISALLOW_COPY_AND_ASSIGN(Shell);
624 }; 619 };
625 620
626 } // namespace ash 621 } // namespace ash
627 622
628 #endif // ASH_SHELL_H_ 623 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/root_window_controller.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698