Index: ash/root_window_property.h |
diff --git a/ash/root_window_property.h b/ash/root_window_property.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0629a423cfc5aaeeb043b97282f456cf51b3895d |
--- /dev/null |
+++ b/ash/root_window_property.h |
@@ -0,0 +1,46 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef ASH_WM_ROOT_WINDOW_PROPERTY_H_ |
+#define ASH_WM_ROOT_WINDOW_PROPERTY_H_ |
+ |
+#include "ash/ash_export.h" |
+#include "base/basictypes.h" |
+ |
+namespace aura { |
+class RootWindow; |
+} |
+ |
+namespace ash { |
+namespace internal { |
+ |
+class RootWindowController; |
+ |
+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
|
+ RootWindowProperty(); |
+ |
+ // Indicate if the window in the active workspace should |
+ // use the transparent "solo-window" header style. |
+ bool solo_window_header; |
+ |
+ // ID of the display associated with the root window. |
+ int64 display_id; |
+ |
+ // RootWindowController for the root window. This may be NULL |
+ // for the root window used for mirroring. |
+ RootWindowController* controller; |
+}; |
+ |
+// Returns the RootWindowProperty for |root|. It automatically creates |
+// 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.
|
+ASH_EXPORT RootWindowProperty* GetRootWindowProperty(aura::RootWindow* root); |
+ |
+// 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
|
+ASH_EXPORT const RootWindowProperty* |
+GetRootWindowProperty(const aura::RootWindow* root); |
+ |
+} // namespace internal |
+} // namespace ash |
+ |
+#endif // ASH_WM_ROOT_WINDOW_PROPERTY_H_ |