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 UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 5 #ifndef UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
6 #define UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 6 #define UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
7 | 7 |
8 #include "ui/aura/aura_export.h" | 8 #include "ui/aura/aura_export.h" |
9 #include "ui/aura/window.h" | 9 #include "ui/aura/window.h" |
10 #include "ui/base/ui_base_types.h" | 10 #include "ui/base/ui_base_types.h" |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
62 // A property key to store ui::WindowShowState for restoring a window. | 62 // A property key to store ui::WindowShowState for restoring a window. |
63 // Used in Ash to remember the show state before the window was minimized. | 63 // Used in Ash to remember the show state before the window was minimized. |
64 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const | 64 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const |
65 kRestoreShowStateKey; | 65 kRestoreShowStateKey; |
66 | 66 |
67 // A property key to store ui::WindowShowState for a window. | 67 // A property key to store ui::WindowShowState for a window. |
68 // See ui/base/ui_base_types.h for its definition. | 68 // See ui/base/ui_base_types.h for its definition. |
69 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const | 69 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const |
70 kShowStateKey; | 70 kShowStateKey; |
71 | 71 |
72 // A property key to store the type of window that will be used to record stylus | |
73 // metrics. | |
74 AURA_EXPORT extern const aura::WindowProperty<int>* const | |
xiyuan
2016/09/12 20:15:47
This does not feel like need to be here. Can we mo
xiaoyinh(OOO Sep 11-29)
2016/09/16 18:41:16
Done.
| |
75 kStylusWindowTypeBucket; | |
76 | |
72 // The inset of the topmost view in the client view from the top of the | 77 // The inset of the topmost view in the client view from the top of the |
73 // non-client view. The topmost view depends on the window type. The topmost | 78 // non-client view. The topmost view depends on the window type. The topmost |
74 // view is the tab strip for tabbed browser windows, the toolbar for popups, | 79 // view is the tab strip for tabbed browser windows, the toolbar for popups, |
75 // the web contents for app windows and varies for fullscreen windows. | 80 // the web contents for app windows and varies for fullscreen windows. |
76 AURA_EXPORT extern const aura::WindowProperty<int>* const kTopViewInset; | 81 AURA_EXPORT extern const aura::WindowProperty<int>* const kTopViewInset; |
77 | 82 |
78 // A property key to store window icon. | 83 // A property key to store window icon. |
79 AURA_EXPORT extern const WindowProperty<gfx::ImageSkia*>* const kWindowIconKey; | 84 AURA_EXPORT extern const WindowProperty<gfx::ImageSkia*>* const kWindowIconKey; |
80 | 85 |
81 // Alphabetical sort. | 86 // Alphabetical sort. |
82 | 87 |
83 } // namespace client | 88 } // namespace client |
84 } // namespace aura | 89 } // namespace aura |
85 | 90 |
86 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 91 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
OLD | NEW |