| 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; | |
| 18 namespace mojom { | 17 namespace mojom { |
| 19 enum class WindowType; | 18 enum class WindowType; |
| 20 } | 19 } |
| 21 } | 20 } |
| 22 | 21 |
| 23 namespace aura { | 22 namespace aura { |
| 24 namespace client { | 23 namespace client { |
| 25 | 24 |
| 26 // Alphabetical sort. | 25 // Alphabetical sort. |
| 27 | 26 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 // A property key to store the host window of a window. This lets | 68 // A property key to store the host window of a window. This lets |
| 70 // WebContentsViews find the windows that should constrain NPAPI plugins. | 69 // WebContentsViews find the windows that should constrain NPAPI plugins. |
| 71 AURA_EXPORT extern const WindowProperty<Window*>* const kHostWindowKey; | 70 AURA_EXPORT extern const WindowProperty<Window*>* const kHostWindowKey; |
| 72 | 71 |
| 73 // A property key to store the window modality. | 72 // A property key to store the window modality. |
| 74 AURA_EXPORT extern const WindowProperty<ui::ModalType>* const kModalKey; | 73 AURA_EXPORT extern const WindowProperty<ui::ModalType>* const kModalKey; |
| 75 | 74 |
| 76 // A property key to store the name of the window; mostly used for debugging. | 75 // A property key to store the name of the window; mostly used for debugging. |
| 77 AURA_EXPORT extern const WindowProperty<std::string*>* const kNameKey; | 76 AURA_EXPORT extern const WindowProperty<std::string*>* const kNameKey; |
| 78 | 77 |
| 78 // A property key to store the preferred size of the window. |
| 79 AURA_EXPORT extern const WindowProperty<gfx::Size*>* const kPreferredSize; |
| 80 |
| 81 // A property key to store the resize behavior, which is a bitmask of the |
| 82 // ui::mojom::kResizeBehavior values. |
| 83 AURA_EXPORT extern const WindowProperty<int32_t>* const kResizeBehaviorKey; |
| 84 |
| 79 // A property key to store the restore bounds for a window. | 85 // A property key to store the restore bounds for a window. |
| 80 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kRestoreBoundsKey; | 86 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kRestoreBoundsKey; |
| 81 | 87 |
| 82 // A property key to store ui::WindowShowState for restoring a window. | 88 // A property key to store ui::WindowShowState for restoring a window. |
| 83 // Used in Ash to remember the show state before the window was minimized. | 89 // Used in Ash to remember the show state before the window was minimized. |
| 84 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const | 90 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const |
| 85 kRestoreShowStateKey; | 91 kRestoreShowStateKey; |
| 86 | 92 |
| 87 // A property key to store ui::WindowShowState for a window. | 93 // A property key to store ui::WindowShowState for a window. |
| 88 // See ui/base/ui_base_types.h for its definition. | 94 // See ui/base/ui_base_types.h for its definition. |
| (...skipping 17 matching lines...) Expand all Loading... |
| 106 | 112 |
| 107 AURA_EXPORT extern const aura::WindowProperty<ui::mojom::WindowType>* const | 113 AURA_EXPORT extern const aura::WindowProperty<ui::mojom::WindowType>* const |
| 108 kWindowTypeKey; | 114 kWindowTypeKey; |
| 109 | 115 |
| 110 // Alphabetical sort. | 116 // Alphabetical sort. |
| 111 | 117 |
| 112 } // namespace client | 118 } // namespace client |
| 113 } // namespace aura | 119 } // namespace aura |
| 114 | 120 |
| 115 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 121 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
| OLD | NEW |