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

Side by Side Diff: ash/shell.h

Issue 2907853002: [mus+ash] Removes WmWindow from ash/shelf and ash/shell (Closed)
Patch Set: [mus+ash] Removes WmWindow from ash/shelf and ash/shell (removed some more wm_window.h) Created 3 years, 6 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/shelf/shelf_widget.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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 class VideoActivityNotifier; 168 class VideoActivityNotifier;
169 class VideoDetector; 169 class VideoDetector;
170 class VpnList; 170 class VpnList;
171 class WallpaperController; 171 class WallpaperController;
172 class WallpaperDelegate; 172 class WallpaperDelegate;
173 class WebNotificationTray; 173 class WebNotificationTray;
174 class WindowCycleController; 174 class WindowCycleController;
175 class WindowPositioner; 175 class WindowPositioner;
176 class WindowSelectorController; 176 class WindowSelectorController;
177 class WindowTreeHostManager; 177 class WindowTreeHostManager;
178 class WmWindow;
179 178
180 enum class Config; 179 enum class Config;
181 enum class LoginStatus; 180 enum class LoginStatus;
182 181
183 namespace shell { 182 namespace shell {
184 class WindowWatcher; 183 class WindowWatcher;
185 } 184 }
186 185
187 namespace test { 186 namespace test {
188 class ShellTestApi; 187 class ShellTestApi;
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 // Notifies observers that |pinned_window| changed its pinned window state. 591 // Notifies observers that |pinned_window| changed its pinned window state.
593 void NotifyPinnedStateChanged(aura::Window* pinned_window); 592 void NotifyPinnedStateChanged(aura::Window* pinned_window);
594 593
595 // Notifies observers that the virtual keyboard has been 594 // Notifies observers that the virtual keyboard has been
596 // activated/deactivated for |root_window|. 595 // activated/deactivated for |root_window|.
597 void NotifyVirtualKeyboardActivated(bool activated, 596 void NotifyVirtualKeyboardActivated(bool activated,
598 aura::Window* root_window); 597 aura::Window* root_window);
599 598
600 // Notifies observers that the shelf was created for |root_window|. 599 // Notifies observers that the shelf was created for |root_window|.
601 // TODO(jamescook): Move to Shelf. 600 // TODO(jamescook): Move to Shelf.
602 void NotifyShelfCreatedForRootWindow(WmWindow* root_window); 601 void NotifyShelfCreatedForRootWindow(aura::Window* root_window);
603 602
604 // Notifies observers that |root_window|'s shelf changed alignment. 603 // Notifies observers that |root_window|'s shelf changed alignment.
605 // TODO(jamescook): Move to Shelf. 604 // TODO(jamescook): Move to Shelf.
606 void NotifyShelfAlignmentChanged(WmWindow* root_window); 605 void NotifyShelfAlignmentChanged(aura::Window* root_window);
607 606
608 // Notifies observers that |root_window|'s shelf changed auto-hide behavior. 607 // Notifies observers that |root_window|'s shelf changed auto-hide behavior.
609 // TODO(jamescook): Move to Shelf. 608 // TODO(jamescook): Move to Shelf.
610 void NotifyShelfAutoHideBehaviorChanged(WmWindow* root_window); 609 void NotifyShelfAutoHideBehaviorChanged(aura::Window* root_window);
611 610
612 // Used to provide better error messages for Shell::Get() under mash. 611 // Used to provide better error messages for Shell::Get() under mash.
613 static void SetIsBrowserProcessWithMash(); 612 static void SetIsBrowserProcessWithMash();
614 613
615 private: 614 private:
616 FRIEND_TEST_ALL_PREFIXES(ExtendedDesktopTest, TestCursor); 615 FRIEND_TEST_ALL_PREFIXES(ExtendedDesktopTest, TestCursor);
617 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, MouseEventCursors); 616 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, MouseEventCursors);
618 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, TransformActivate); 617 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, TransformActivate);
619 friend class AcceleratorControllerTest; 618 friend class AcceleratorControllerTest;
620 friend class RootWindowController; 619 friend class RootWindowController;
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 base::ObserverList<ShellObserver> shell_observers_; 834 base::ObserverList<ShellObserver> shell_observers_;
836 835
837 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; 836 scoped_refptr<base::SequencedWorkerPool> blocking_pool_;
838 837
839 DISALLOW_COPY_AND_ASSIGN(Shell); 838 DISALLOW_COPY_AND_ASSIGN(Shell);
840 }; 839 };
841 840
842 } // namespace ash 841 } // namespace ash
843 842
844 #endif // ASH_SHELL_H_ 843 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/shelf/shelf_widget.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698