| 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 <string> | |
| 9 | |
| 10 #include "third_party/skia/include/core/SkColor.h" | 8 #include "third_party/skia/include/core/SkColor.h" |
| 11 #include "ui/aura/aura_export.h" | 9 #include "ui/aura/aura_export.h" |
| 12 #include "ui/aura/window.h" | 10 #include "ui/aura/window.h" |
| 13 #include "ui/base/ui_base_types.h" | 11 #include "ui/base/ui_base_types.h" |
| 14 | 12 |
| 15 namespace ui { | 13 namespace ui { |
| 16 class InputMethod; | 14 class InputMethod; |
| 17 } | 15 } |
| 18 | 16 |
| 19 namespace aura { | 17 namespace aura { |
| 20 namespace client { | 18 namespace client { |
| 21 | 19 |
| 22 // Alphabetical sort. | 20 // Alphabetical sort. |
| 23 | 21 |
| 24 // A property key to store always-on-top flag. | 22 // A property key to store always-on-top flag. |
| 25 AURA_EXPORT extern const WindowProperty<bool>* const kAlwaysOnTopKey; | 23 AURA_EXPORT extern const WindowProperty<bool>* const kAlwaysOnTopKey; |
| 26 | 24 |
| 27 // A property key to store whether animations are disabled for the window. Type | 25 // A property key to store whether animations are disabled for the window. Type |
| 28 // of value is an int. | 26 // of value is an int. |
| 29 AURA_EXPORT extern const WindowProperty<bool>* const kAnimationsDisabledKey; | 27 AURA_EXPORT extern const WindowProperty<bool>* const kAnimationsDisabledKey; |
| 30 | 28 |
| 31 // A property key to store the app icon, typically larger for shelf icons, etc. | |
| 32 AURA_EXPORT extern const WindowProperty<gfx::ImageSkia*>* const kAppIconKey; | |
| 33 | |
| 34 // A property key to store the string id of the app associated with this window. | |
| 35 AURA_EXPORT extern const WindowProperty<std::string*>* const kAppIdKey; | |
| 36 | |
| 37 // A property key to store the type of window that will be used to record | 29 // A property key to store the type of window that will be used to record |
| 38 // pointer metrics. See AppType in ash/shared/app_types.h for more details. | 30 // pointer metrics. See AppType in ash/shared/app_types.h for more details. |
| 39 AURA_EXPORT extern const WindowProperty<int>* const kAppType; | 31 AURA_EXPORT extern const WindowProperty<int>* const kAppType; |
| 40 | 32 |
| 41 // A property key to store the can-maximize flag. | 33 // A property key to store the can-maximize flag. |
| 42 AURA_EXPORT extern const WindowProperty<bool>* const kCanMaximizeKey; | 34 AURA_EXPORT extern const WindowProperty<bool>* const kCanMaximizeKey; |
| 43 | 35 |
| 44 // A property key to store the can-minimize flag. | 36 // A property key to store the can-minimize flag. |
| 45 AURA_EXPORT extern const WindowProperty<bool>* const kCanMinimizeKey; | 37 AURA_EXPORT extern const WindowProperty<bool>* const kCanMinimizeKey; |
| 46 | 38 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 | 76 |
| 85 // 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 |
| 86 // 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 |
| 87 // 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, |
| 88 // the web contents for app windows and varies for fullscreen windows. | 80 // the web contents for app windows and varies for fullscreen windows. |
| 89 AURA_EXPORT extern const aura::WindowProperty<int>* const kTopViewInset; | 81 AURA_EXPORT extern const aura::WindowProperty<int>* const kTopViewInset; |
| 90 | 82 |
| 91 // The color of the window header. | 83 // The color of the window header. |
| 92 AURA_EXPORT extern const aura::WindowProperty<SkColor>* const kTopViewColor; | 84 AURA_EXPORT extern const aura::WindowProperty<SkColor>* const kTopViewColor; |
| 93 | 85 |
| 94 // A property key to store the window icon, typically 16x16 for title bars. | 86 // A property key to store window icon. |
| 95 AURA_EXPORT extern const WindowProperty<gfx::ImageSkia*>* const kWindowIconKey; | 87 AURA_EXPORT extern const WindowProperty<gfx::ImageSkia*>* const kWindowIconKey; |
| 96 | 88 |
| 97 // Alphabetical sort. | 89 // Alphabetical sort. |
| 98 | 90 |
| 99 } // namespace client | 91 } // namespace client |
| 100 } // namespace aura | 92 } // namespace aura |
| 101 | 93 |
| 102 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 94 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
| OLD | NEW |