Chromium Code Reviews| 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 27 matching lines...) Expand all Loading... | |
| 38 AURA_EXPORT extern const WindowProperty<bool>* const kConstrainedWindowKey; | 38 AURA_EXPORT extern const WindowProperty<bool>* const kConstrainedWindowKey; |
| 39 | 39 |
| 40 // A property key to indicate that a window should show that it deserves | 40 // A property key to indicate that a window should show that it deserves |
| 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 indicate that a window should be excluded from the most | 44 // A property key to indicate that a window should be excluded from the most |
| 45 // recently used windows list. | 45 // recently used windows list. |
| 46 AURA_EXPORT extern const aura::WindowProperty<bool>* const kExcludeFromMruKey; | 46 AURA_EXPORT extern const aura::WindowProperty<bool>* const kExcludeFromMruKey; |
| 47 | 47 |
| 48 // A property key to indicate that a window icon should be shown on the tray | |
| 49 // rather than shelf. | |
| 50 AURA_EXPORT extern const aura::WindowProperty<bool>* const kShowIconOnTrayKey; | |
| 51 | |
|
sadrul
2016/06/27 15:08:05
This key should go somewhere in ash/shelf/, not in
Azure Wei
2016/06/27 18:33:49
Moved to ash/shelf/shelf_util.*
| |
| 48 // A property key to store the host window of a window. This lets | 52 // A property key to store the host window of a window. This lets |
| 49 // WebContentsViews find the windows that should constrain NPAPI plugins. | 53 // WebContentsViews find the windows that should constrain NPAPI plugins. |
| 50 AURA_EXPORT extern const WindowProperty<Window*>* const kHostWindowKey; | 54 AURA_EXPORT extern const WindowProperty<Window*>* const kHostWindowKey; |
| 51 | 55 |
| 52 // A property key to store the window modality. | 56 // A property key to store the window modality. |
| 53 AURA_EXPORT extern const WindowProperty<ui::ModalType>* const kModalKey; | 57 AURA_EXPORT extern const WindowProperty<ui::ModalType>* const kModalKey; |
| 54 | 58 |
| 55 // A property key to store the restore bounds for a window. | 59 // A property key to store the restore bounds for a window. |
| 56 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kRestoreBoundsKey; | 60 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kRestoreBoundsKey; |
| 57 | 61 |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 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 // Alphabetical sort. | 78 // Alphabetical sort. |
| 75 | 79 |
| 76 } // namespace client | 80 } // namespace client |
| 77 } // namespace aura | 81 } // namespace aura |
| 78 | 82 |
| 79 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ | 83 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ |
| OLD | NEW |