OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef ASH_WM_ROOT_WINDOW_PROPERTY_H_ | |
6 #define ASH_WM_ROOT_WINDOW_PROPERTY_H_ | |
7 | |
8 #include "ash/ash_export.h" | |
9 #include "base/basictypes.h" | |
10 | |
11 namespace aura { | |
12 class RootWindow; | |
13 } | |
14 | |
15 namespace ash { | |
16 namespace internal { | |
17 | |
18 class RootWindowController; | |
19 | |
20 struct RootWindowProperty { | |
James Cook
2013/08/30 00:06:36
Should this be RootWindowProperties because it con
oshima
2013/08/30 05:38:33
I thought about RootWindowProperties, but I picked
James Cook
2013/08/30 16:26:25
I like RootWindowSettings the best. (Yeah, it's a
| |
21 RootWindowProperty(); | |
22 | |
23 // Indicate if the window in the active workspace should | |
24 // use the transparent "solo-window" header style. | |
25 bool solo_window_header; | |
26 | |
27 // ID of the display associated with the root window. | |
28 int64 display_id; | |
29 | |
30 // RootWindowController for the root window. This may be NULL | |
31 // for the root window used for mirroring. | |
32 RootWindowController* controller; | |
33 }; | |
34 | |
35 // Returns the RootWindowProperty for |root|. It automatically creates | |
36 // new instance of the |root| does not exist and never returns NULL. | |
James Cook
2013/08/30 00:06:36
of -> if
oshima
2013/08/30 05:38:33
Done.
| |
37 ASH_EXPORT RootWindowProperty* GetRootWindowProperty(aura::RootWindow* root); | |
38 | |
39 // Returns the RootWindowProperty for const |root|. This may return NULL. | |
James Cook
2013/08/30 00:06:36
Should this version just cast away the const and n
oshima
2013/08/30 05:38:33
I added InitRootWindowProperty instead to explicit
| |
40 ASH_EXPORT const RootWindowProperty* | |
41 GetRootWindowProperty(const aura::RootWindow* root); | |
42 | |
43 } // namespace internal | |
44 } // namespace ash | |
45 | |
46 #endif // ASH_WM_ROOT_WINDOW_PROPERTY_H_ | |
OLD | NEW |