OLD | NEW |
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_WM_WINDOW_PROPERTIES_H_ | 5 #ifndef ASH_WM_WINDOW_PROPERTIES_H_ |
6 #define ASH_WM_WINDOW_PROPERTIES_H_ | 6 #define ASH_WM_WINDOW_PROPERTIES_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "ash/wm/property_util.h" | 9 #include "ash/wm/property_util.h" |
10 #include "ui/aura/window.h" | 10 #include "ui/aura/window.h" |
(...skipping 20 matching lines...) Expand all Loading... |
31 | 31 |
32 // A property key to indicate that an in progress drag should be continued | 32 // A property key to indicate that an in progress drag should be continued |
33 // after the window is reparented to another container. | 33 // after the window is reparented to another container. |
34 extern const aura::WindowProperty<bool>* const kContinueDragAfterReparent; | 34 extern const aura::WindowProperty<bool>* const kContinueDragAfterReparent; |
35 | 35 |
36 // A property key to indicate that the user is cycling through workspaces. | 36 // A property key to indicate that the user is cycling through workspaces. |
37 // The property should only be set on the root window. | 37 // The property should only be set on the root window. |
38 ASH_EXPORT extern const aura::WindowProperty<bool>* const | 38 ASH_EXPORT extern const aura::WindowProperty<bool>* const |
39 kCyclingThroughWorkspacesKey; | 39 kCyclingThroughWorkspacesKey; |
40 | 40 |
| 41 // A property key to indicate whether there is any chrome at all that cannot be |
| 42 // hidden when the window is fullscreen. This is unrelated to whether the full |
| 43 // chrome can be revealed by hovering the mouse at the top of the screen. |
| 44 ASH_EXPORT extern const aura::WindowProperty<bool>* const |
| 45 kFullscreenUsesMinimalChromeKey; |
| 46 |
41 // A property key to disable the frame painter policy for solo windows. | 47 // A property key to disable the frame painter policy for solo windows. |
42 // It is only available for root windows. | 48 // It is only available for root windows. |
43 ASH_EXPORT extern const aura::WindowProperty<bool>* const | 49 ASH_EXPORT extern const aura::WindowProperty<bool>* const |
44 kIgnoreSoloWindowFramePainterPolicy; | 50 kIgnoreSoloWindowFramePainterPolicy; |
45 | 51 |
46 // True if the window is ignored by the shelf layout manager for purposes of | 52 // True if the window is ignored by the shelf layout manager for purposes of |
47 // darkening the shelf. | 53 // darkening the shelf. |
48 extern const aura::WindowProperty<bool>* const | 54 extern const aura::WindowProperty<bool>* const |
49 kIgnoredByShelfKey; | 55 kIgnoredByShelfKey; |
50 | 56 |
51 // True if this is a browser window in immersive mode. | |
52 ASH_EXPORT extern const aura::WindowProperty<bool>* const kImmersiveModeKey; | |
53 | |
54 // True if this window is an attached panel. | 57 // True if this window is an attached panel. |
55 ASH_EXPORT extern const aura::WindowProperty<bool>* const kPanelAttachedKey; | 58 ASH_EXPORT extern const aura::WindowProperty<bool>* const kPanelAttachedKey; |
56 | 59 |
57 // Used to remember the show state before the window was minimized. | 60 // Used to remember the show state before the window was minimized. |
58 extern const aura::WindowProperty<ui::WindowShowState>* const | 61 extern const aura::WindowProperty<ui::WindowShowState>* const |
59 kRestoreShowStateKey; | 62 kRestoreShowStateKey; |
60 | 63 |
61 extern const aura::WindowProperty<RootWindowController*>* const | 64 extern const aura::WindowProperty<RootWindowController*>* const |
62 kRootWindowControllerKey; | 65 kRootWindowControllerKey; |
63 | 66 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 // True if the window is controlled by the workspace manager. | 104 // True if the window is controlled by the workspace manager. |
102 extern const aura::WindowProperty<bool>* const | 105 extern const aura::WindowProperty<bool>* const |
103 kWindowTrackedByWorkspaceKey; | 106 kWindowTrackedByWorkspaceKey; |
104 | 107 |
105 // Alphabetical sort. | 108 // Alphabetical sort. |
106 | 109 |
107 } // namespace internal | 110 } // namespace internal |
108 } // namespace ash | 111 } // namespace ash |
109 | 112 |
110 #endif // ASH_WM_WINDOW_PROPERTIES_H_ | 113 #endif // ASH_WM_WINDOW_PROPERTIES_H_ |
OLD | NEW |