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

Side by Side Diff: ash/root_window_settings.h

Issue 196573023: Remove PrepareForShutdown (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « ash/root_window_controller.cc ('k') | ash/root_window_settings.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_ROOT_WINDOW_SETTINGS_H_ 5 #ifndef ASH_ROOT_WINDOW_SETTINGS_H_
6 #define ASH_ROOT_WINDOW_SETTINGS_H_ 6 #define ASH_ROOT_WINDOW_SETTINGS_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 10
(...skipping 11 matching lines...) Expand all
22 // it can prevent mis-using on non root window. 22 // it can prevent mis-using on non root window.
23 struct RootWindowSettings { 23 struct RootWindowSettings {
24 RootWindowSettings(); 24 RootWindowSettings();
25 25
26 // ID of the display associated with the root window. 26 // ID of the display associated with the root window.
27 int64 display_id; 27 int64 display_id;
28 28
29 // RootWindowController for the root window. This may be NULL 29 // RootWindowController for the root window. This may be NULL
30 // for the root window used for mirroring. 30 // for the root window used for mirroring.
31 RootWindowController* controller; 31 RootWindowController* controller;
32
33 // True if the root window has already been shutdown.
34 bool shutdown;
32 }; 35 };
33 36
34 // Initializes and returns RootWindowSettings for |root|. 37 // Initializes and returns RootWindowSettings for |root|.
35 // It is owned by the |root|. 38 // It is owned by the |root|.
36 RootWindowSettings* InitRootWindowSettings(aura::Window* root); 39 RootWindowSettings* InitRootWindowSettings(aura::Window* root);
37 40
38 // Returns the RootWindowSettings for |root|. 41 // Returns the RootWindowSettings for |root|.
39 ASH_EXPORT RootWindowSettings* GetRootWindowSettings(aura::Window* root); 42 ASH_EXPORT RootWindowSettings* GetRootWindowSettings(aura::Window* root);
40 43
41 // const version of GetRootWindowSettings. 44 // const version of GetRootWindowSettings.
42 ASH_EXPORT const RootWindowSettings* 45 ASH_EXPORT const RootWindowSettings*
43 GetRootWindowSettings(const aura::Window* root); 46 GetRootWindowSettings(const aura::Window* root);
44 47
45 } // namespace internal 48 } // namespace internal
46 } // namespace ash 49 } // namespace ash
47 50
48 #endif // ASH_ROOT_WINDOW_SETTINGS_H_ 51 #endif // ASH_ROOT_WINDOW_SETTINGS_H_
OLDNEW
« no previous file with comments | « ash/root_window_controller.cc ('k') | ash/root_window_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698