| 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 30 matching lines...) Expand all Loading... |
| 41 // attention. | 41 // attention. |
| 42 AURA_EXPORT extern const aura::WindowProperty<bool>* const kDrawAttentionKey; | 42 AURA_EXPORT extern const aura::WindowProperty<bool>* const kDrawAttentionKey; |
| 43 | 43 |
| 44 // A property key to store the host window of a window. This lets | 44 // A property key to store the host window of a window. This lets |
| 45 // WebContentsViews find the windows that should constrain NPAPI plugins. | 45 // WebContentsViews find the windows that should constrain NPAPI plugins. |
| 46 AURA_EXPORT extern const WindowProperty<Window*>* const kHostWindowKey; | 46 AURA_EXPORT extern const WindowProperty<Window*>* const kHostWindowKey; |
| 47 | 47 |
| 48 // A property key to store the window modality. | 48 // A property key to store the window modality. |
| 49 AURA_EXPORT extern const WindowProperty<ui::ModalType>* const kModalKey; | 49 AURA_EXPORT extern const WindowProperty<ui::ModalType>* const kModalKey; |
| 50 | 50 |
| 51 // A property key to store whether it is ok to release capture for a window |
| 52 // if a touch happens outside its bounds. |
| 53 AURA_EXPORT extern const WindowProperty<bool>* const |
| 54 kReleaseCaptureOnTouchOutside; |
| 55 |
| 51 // A property key to store the restore bounds for a window. | 56 // A property key to store the restore bounds for a window. |
| 52 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kRestoreBoundsKey; | 57 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kRestoreBoundsKey; |
| 53 | 58 |
| 54 // A property key to store ui::WindowShowState for restoring a window. | 59 // A property key to store ui::WindowShowState for restoring a window. |
| 55 // Used in Ash to remember the show state before the window was minimized. | 60 // Used in Ash to remember the show state before the window was minimized. |
| 56 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const | 61 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const |
| 57 kRestoreShowStateKey; | 62 kRestoreShowStateKey; |
| 58 | 63 |
| 59 // A property key to store ui::WindowShowState for a window. | 64 // A property key to store ui::WindowShowState for a window. |
| 60 // See ui/base/ui_base_types.h for its definition. | 65 // See ui/base/ui_base_types.h for its definition. |
| 61 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const | 66 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const |
| 62 kShowStateKey; | 67 kShowStateKey; |
| 63 | 68 |
| 64 // Alphabetical sort. | 69 // Alphabetical sort. |
| 65 | 70 |
| 66 } // namespace client | 71 } // namespace client |
| 67 } // namespace aura | 72 } // namespace aura |
| 68 | 73 |
| 69 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 74 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
| OLD | NEW |