| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 // A property key to store the host window of a window. This lets | 48 // A property key to store the host window of a window. This lets |
| 49 // WebContentsViews find the windows that should constrain NPAPI plugins. | 49 // WebContentsViews find the windows that should constrain NPAPI plugins. |
| 50 AURA_EXPORT extern const WindowProperty<Window*>* const kHostWindowKey; | 50 AURA_EXPORT extern const WindowProperty<Window*>* const kHostWindowKey; |
| 51 | 51 |
| 52 // A property key to store the window modality. | 52 // A property key to store the window modality. |
| 53 AURA_EXPORT extern const WindowProperty<ui::ModalType>* const kModalKey; | 53 AURA_EXPORT extern const WindowProperty<ui::ModalType>* const kModalKey; |
| 54 | 54 |
| 55 // A property key to store the restore bounds for a window. | 55 // A property key to store the restore bounds for a window. |
| 56 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kRestoreBoundsKey; | 56 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kRestoreBoundsKey; |
| 57 | 57 |
| 58 // A property key to store the new bounds for a window when moved by the virtual |
| 59 // keyboard. |
| 60 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kVKNewBoundsKey; |
| 61 |
| 58 // A property key to store ui::WindowShowState for restoring a window. | 62 // A property key to store ui::WindowShowState for restoring a window. |
| 59 // 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. |
| 60 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const | 64 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const |
| 61 kRestoreShowStateKey; | 65 kRestoreShowStateKey; |
| 62 | 66 |
| 63 // A property key to store ui::WindowShowState for a window. | 67 // A property key to store ui::WindowShowState for a window. |
| 64 // See ui/base/ui_base_types.h for its definition. | 68 // See ui/base/ui_base_types.h for its definition. |
| 65 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const | 69 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const |
| 66 kShowStateKey; | 70 kShowStateKey; |
| 67 | 71 |
| 68 // The inset of the topmost view in the client view from the top of the | 72 // The inset of the topmost view in the client view from the top of the |
| 69 // non-client view. The topmost view depends on the window type. The topmost | 73 // non-client view. The topmost view depends on the window type. The topmost |
| 70 // view is the tab strip for tabbed browser windows, the toolbar for popups, | 74 // view is the tab strip for tabbed browser windows, the toolbar for popups, |
| 71 // the web contents for app windows and varies for fullscreen windows. | 75 // the web contents for app windows and varies for fullscreen windows. |
| 72 AURA_EXPORT extern const aura::WindowProperty<int>* const kTopViewInset; | 76 AURA_EXPORT extern const aura::WindowProperty<int>* const kTopViewInset; |
| 73 | 77 |
| 74 // A property key to store window icon. | 78 // A property key to store window icon. |
| 75 AURA_EXPORT extern const WindowProperty<gfx::ImageSkia*>* const kWindowIconKey; | 79 AURA_EXPORT extern const WindowProperty<gfx::ImageSkia*>* const kWindowIconKey; |
| 76 | 80 |
| 77 // Alphabetical sort. | 81 // Alphabetical sort. |
| 78 | 82 |
| 79 } // namespace client | 83 } // namespace client |
| 80 } // namespace aura | 84 } // namespace aura |
| 81 | 85 |
| 82 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 86 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
| OLD | NEW |