| 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> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| 11 #include "third_party/skia/include/core/SkColor.h" | 11 #include "third_party/skia/include/core/SkColor.h" |
| 12 #include "ui/aura/aura_export.h" | 12 #include "ui/aura/aura_export.h" |
| 13 #include "ui/aura/window.h" | 13 #include "ui/aura/window.h" |
| 14 #include "ui/base/ui_base_types.h" | 14 #include "ui/base/ui_base_types.h" |
| 15 | 15 |
| 16 namespace ui { | 16 namespace ui { |
| 17 class InputMethod; | 17 class InputMethod; |
| 18 namespace mojom { | 18 namespace mojom { |
| 19 enum class WindowType; | 19 enum class WindowType; |
| 20 } | 20 } |
| 21 } | 21 } |
| 22 | 22 |
| 23 namespace aura { | 23 namespace aura { |
| 24 namespace client { | 24 namespace client { |
| 25 | 25 |
| 26 // Alphabetical sort. | 26 // Alphabetical sort. |
| 27 | 27 |
| 28 // A property key to store whether accessibility focus falls back to widget or |
| 29 // not. |
| 30 AURA_EXPORT extern const WindowProperty<bool>* const |
| 31 kAccessibilityFocusFallsbackToWidgetKey; |
| 32 |
| 28 // A property key to store always-on-top flag. | 33 // A property key to store always-on-top flag. |
| 29 AURA_EXPORT extern const WindowProperty<bool>* const kAlwaysOnTopKey; | 34 AURA_EXPORT extern const WindowProperty<bool>* const kAlwaysOnTopKey; |
| 30 | 35 |
| 31 // A property key to store whether animations are disabled for the window. Type | 36 // A property key to store whether animations are disabled for the window. Type |
| 32 // of value is an int. | 37 // of value is an int. |
| 33 AURA_EXPORT extern const WindowProperty<bool>* const kAnimationsDisabledKey; | 38 AURA_EXPORT extern const WindowProperty<bool>* const kAnimationsDisabledKey; |
| 34 | 39 |
| 35 // A property key to store the app icon, typically larger for shelf icons, etc. | 40 // A property key to store the app icon, typically larger for shelf icons, etc. |
| 36 AURA_EXPORT extern const WindowProperty<gfx::ImageSkia*>* const kAppIconKey; | 41 AURA_EXPORT extern const WindowProperty<gfx::ImageSkia*>* const kAppIconKey; |
| 37 | 42 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 | 111 |
| 107 AURA_EXPORT extern const aura::WindowProperty<ui::mojom::WindowType>* const | 112 AURA_EXPORT extern const aura::WindowProperty<ui::mojom::WindowType>* const |
| 108 kWindowTypeKey; | 113 kWindowTypeKey; |
| 109 | 114 |
| 110 // Alphabetical sort. | 115 // Alphabetical sort. |
| 111 | 116 |
| 112 } // namespace client | 117 } // namespace client |
| 113 } // namespace aura | 118 } // namespace aura |
| 114 | 119 |
| 115 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 120 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
| OLD | NEW |