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

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

Issue 2906803002: Rename MaximizeMode to TabletMode (Closed)
Patch Set: updated filter Created 3 years, 7 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
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 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ui/base/class_property.h" 9 #include "ui/base/class_property.h"
10 #include "ui/base/ui_base_types.h" 10 #include "ui/base/ui_base_types.h"
(...skipping 28 matching lines...) Expand all
39 // Shell-specific window property keys; some keys are exported for use in tests. 39 // Shell-specific window property keys; some keys are exported for use in tests.
40 40
41 // Alphabetical sort. 41 // Alphabetical sort.
42 42
43 // If this is set to true, the window stays in the same root window even if the 43 // If this is set to true, the window stays in the same root window even if the
44 // bounds outside of its root window is set. 44 // bounds outside of its root window is set.
45 ASH_EXPORT extern const aura::WindowProperty<bool>* const kLockedToRootKey; 45 ASH_EXPORT extern const aura::WindowProperty<bool>* const kLockedToRootKey;
46 46
47 // A property key which stores the bounds to restore a window to. These take 47 // A property key which stores the bounds to restore a window to. These take
48 // preference over the current bounds/state. This is used by e.g. the always 48 // preference over the current bounds/state. This is used by e.g. the always
49 // maximized mode window manager. 49 // tablet mode window manager.
50 ASH_EXPORT extern const aura::WindowProperty<gfx::Rect*>* const 50 ASH_EXPORT extern const aura::WindowProperty<gfx::Rect*>* const
51 kRestoreBoundsOverrideKey; 51 kRestoreBoundsOverrideKey;
52 52
53 // A property key which stores the bounds to restore a window to. These take 53 // A property key which stores the bounds to restore a window to. These take
54 // preference over the current bounds/state if |kRestoreBoundsOverrideKey| is 54 // preference over the current bounds/state if |kRestoreBoundsOverrideKey| is
55 // set. This is used by e.g. the always maximized mode window manager. 55 // set. This is used by e.g. the always tablet mode window manager.
56 ASH_EXPORT extern const aura::WindowProperty<ui::WindowShowState>* const 56 ASH_EXPORT extern const aura::WindowProperty<ui::WindowShowState>* const
57 kRestoreShowStateOverrideKey; 57 kRestoreShowStateOverrideKey;
58 58
59 // Containers with this property (true) are aligned with physical pixel 59 // Containers with this property (true) are aligned with physical pixel
60 // boundary. 60 // boundary.
61 extern const aura::WindowProperty<bool>* const kSnapChildrenToPixelBoundary; 61 extern const aura::WindowProperty<bool>* const kSnapChildrenToPixelBoundary;
62 62
63 // Property to tell if the container uses the screen coordinates. 63 // Property to tell if the container uses the screen coordinates.
64 extern const aura::WindowProperty<bool>* const kUsesScreenCoordinatesKey; 64 extern const aura::WindowProperty<bool>* const kUsesScreenCoordinatesKey;
65 65
66 ASH_EXPORT extern const aura::WindowProperty<WidgetCreationType>* const 66 ASH_EXPORT extern const aura::WindowProperty<WidgetCreationType>* const
67 kWidgetCreationTypeKey; 67 kWidgetCreationTypeKey;
68 68
69 // A property key to store WindowState in the window. The window state 69 // A property key to store WindowState in the window. The window state
70 // is owned by the window. 70 // is owned by the window.
71 extern const aura::WindowProperty<wm::WindowState*>* const kWindowStateKey; 71 extern const aura::WindowProperty<wm::WindowState*>* const kWindowStateKey;
72 72
73 // Alphabetical sort. 73 // Alphabetical sort.
74 74
75 } // namespace ash 75 } // namespace ash
76 76
77 #endif // ASH_WM_WINDOW_PROPERTIES_H_ 77 #endif // ASH_WM_WINDOW_PROPERTIES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698