Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef UI_VIEWS_VIEW_CONSTANTS_AURA_H_ | |
| 6 #define UI_VIEWS_VIEW_CONSTANTS_AURA_H_ | |
| 7 | |
| 8 #include "ui/aura/window.h" | |
| 9 #include "ui/views/views_export.h" | |
| 10 | |
| 11 namespace views { | |
| 12 class View; | |
| 13 | |
| 14 // A property key to indicate the window's host view. If specified, the host | |
|
sky
2013/05/13 22:43:05
This is a bit confusing. In particular you make it
| |
| 15 // view determines the z-order of the window in its parent widget. The host | |
| 16 // view must have the same parent widget as the window on which the property | |
| 17 // is set. The z-order of the window is set to the z-order of the host view in | |
| 18 // the view tree relative to: | |
| 19 // - views with layers. | |
| 20 // - views bound to a window via the kHostViewKey. | |
| 21 VIEWS_EXPORT extern const aura::WindowProperty<View*>* const kHostViewKey; | |
| 22 | |
| 23 } // namespace views | |
| 24 | |
| 25 #endif // UI_VIEWS_VIEW_CONSTANTS_AURA_H_ | |
| OLD | NEW |