diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-31 14:25:00 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-31 14:25:00 +0000 |
commit | 636dc1624585ca5c4c3ae2e028413cd572554a63 (patch) | |
tree | ff01227e061e016dfb47e0a82bf0a91f183ac3b4 /ui/views/view_constants_aura.h | |
parent | acd431ee877258e7ad24eb9b0c925d5d237de95a (diff) | |
download | chromium_src-636dc1624585ca5c4c3ae2e028413cd572554a63.zip chromium_src-636dc1624585ca5c4c3ae2e028413cd572554a63.tar.gz chromium_src-636dc1624585ca5c4c3ae2e028413cd572554a63.tar.bz2 |
Revert 203217 "Revert 202987 "Reorder the NativeViews attached t..."
I reverted it yesterday because I thought it was burning the Aura tree. It turned out to be innocent so I'm putting it back.
TBR=avi@chromium.org
Review URL: https://codereview.chromium.org/16256004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203402 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/view_constants_aura.h')
-rw-r--r-- | ui/views/view_constants_aura.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/ui/views/view_constants_aura.h b/ui/views/view_constants_aura.h new file mode 100644 index 0000000..e0d718d --- /dev/null +++ b/ui/views/view_constants_aura.h @@ -0,0 +1,22 @@ +// Copyright 2013 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef UI_VIEWS_VIEW_CONSTANTS_AURA_H_ +#define UI_VIEWS_VIEW_CONSTANTS_AURA_H_ + +#include "ui/aura/window.h" +#include "ui/views/views_export.h" + +namespace views { +class View; + +// A property key to indicate the view the window is associated with. If +// specified, the z-order of the view, relative to other views, dictates the +// z-order of the window and its associated layer. The associated view must +// have the same parent widget as the window on which the property is set. +VIEWS_EXPORT extern const aura::WindowProperty<View*>* const kHostViewKey; + +} // namespace views + +#endif // UI_VIEWS_VIEW_CONSTANTS_AURA_H_ |