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

Side by Side Diff: ash/wm/window_properties.h

Issue 10545058: Add UIControlsAsh that works with multiple root windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nit Created 8 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 | Annotate | Revision Log
« no previous file with comments | « ash/ui_controls_ash.cc ('k') | ash/wm/window_properties.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 (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 #pragma once 7 #pragma once
8 8
9 #include "ash/wm/property_util.h" 9 #include "ash/wm/property_util.h"
10 #include "ash/wm/shadow_types.h" 10 #include "ash/wm/shadow_types.h"
11 #include "ui/aura/window.h" 11 #include "ui/aura/window.h"
12 #include "ui/base/ui_base_types.h" 12 #include "ui/base/ui_base_types.h"
13 13
14 namespace ui_controls {
15 class UIControlsAura;
16 }
17
14 namespace ash { 18 namespace ash {
15 namespace internal { 19 namespace internal {
16 20
17 // Shell-specific window property keys. 21 // Shell-specific window property keys.
18 22
19 // Alphabetical sort. 23 // Alphabetical sort.
20 24
21 // Property set on all windows whose child windows' visibility changes are 25 // Property set on all windows whose child windows' visibility changes are
22 // animated. 26 // animated.
23 extern const aura::WindowProperty<bool>* const 27 extern const aura::WindowProperty<bool>* const
24 kChildWindowVisibilityChangesAnimatedKey; 28 kChildWindowVisibilityChangesAnimatedKey;
25 29
26 // Used to remember the show state before the window was minimized. 30 // Used to remember the show state before the window was minimized.
27 extern const aura::WindowProperty<ui::WindowShowState>* const 31 extern const aura::WindowProperty<ui::WindowShowState>* const
28 kRestoreShowStateKey; 32 kRestoreShowStateKey;
29 33
30 // A property key describing the drop shadow that should be displayed under the 34 // A property key describing the drop shadow that should be displayed under the
31 // window. If unset, no shadow is displayed. 35 // window. If unset, no shadow is displayed.
32 extern const aura::WindowProperty<ShadowType>* const kShadowTypeKey; 36 extern const aura::WindowProperty<ShadowType>* const kShadowTypeKey;
33 37
38 // Used to store a ui_controls for each root window.
39 extern const aura::WindowProperty<ui_controls::UIControlsAura*>* const
40 kUIControlsKey;
41
34 extern const aura::WindowProperty<WindowPersistsAcrossAllWorkspacesType>* const 42 extern const aura::WindowProperty<WindowPersistsAcrossAllWorkspacesType>* const
35 kWindowPersistsAcrossAllWorkspacesKey; 43 kWindowPersistsAcrossAllWorkspacesKey;
36 44
37 // True if the window is controlled by the workspace manager. 45 // True if the window is controlled by the workspace manager.
38 extern const aura::WindowProperty<bool>* const 46 extern const aura::WindowProperty<bool>* const
39 kWindowTrackedByWorkspaceKey; 47 kWindowTrackedByWorkspaceKey;
40 48
41 // Alphabetical sort. 49 // Alphabetical sort.
42 50
43 } // namespace internal 51 } // namespace internal
44 } // namespace ash 52 } // namespace ash
45 53
46 #endif // ASH_WM_WINDOW_PROPERTIES_H_ 54 #endif // ASH_WM_WINDOW_PROPERTIES_H_
OLDNEW
« no previous file with comments | « ash/ui_controls_ash.cc ('k') | ash/wm/window_properties.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698