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

Side by Side Diff: ash/mus/root_windows_observer.h

Issue 2072343002: Changes how window manager obtains WindowTree from mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: include Created 4 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/mus/root_window_controller.cc ('k') | ash/mus/test/wm_test_base.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_MUS_ROOT_WINDOW_OBSERVERS_H_ 5 #ifndef ASH_MUS_ROOT_WINDOW_OBSERVERS_H_
6 #define ASH_MUS_ROOT_WINDOW_OBSERVERS_H_ 6 #define ASH_MUS_ROOT_WINDOW_OBSERVERS_H_
7 7
8 namespace ash { 8 namespace ash {
9 namespace mus { 9 namespace mus {
10 10
11 class RootWindowController; 11 class RootWindowController;
12 12
13 class RootWindowsObserver { 13 class RootWindowsObserver {
14 public: 14 public:
15 // Called once a new display has been created and the root Window obtained. 15 // Called once a new display has been created and the root Window obtained.
16 virtual void OnRootWindowControllerAdded( 16 virtual void OnRootWindowControllerAdded(RootWindowController* controller) {}
17 RootWindowController* controller) = 0; 17
18 // Called before a RootWindowController is destroyed.
19 virtual void OnWillDestroyRootWindowController(
20 RootWindowController* controller) {}
18 21
19 protected: 22 protected:
20 ~RootWindowsObserver() {} 23 ~RootWindowsObserver() {}
21 }; 24 };
22 25
23 } // namespace mus 26 } // namespace mus
24 } // namespace ash 27 } // namespace ash
25 28
26 #endif // ASH_MUS_ROOT_WINDOW_OBSERVERS_H_ 29 #endif // ASH_MUS_ROOT_WINDOW_OBSERVERS_H_
OLDNEW
« no previous file with comments | « ash/mus/root_window_controller.cc ('k') | ash/mus/test/wm_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698