view_constants_aura.h revision a1401311d1ab56c4ed0a474bd38c108f75cb0cd9
1868fa2fe829687343ffae624259930155e16dbd8Torne (Richard Coles)// Copyright 2013 The Chromium Authors. All rights reserved.
2868fa2fe829687343ffae624259930155e16dbd8Torne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be
3868fa2fe829687343ffae624259930155e16dbd8Torne (Richard Coles)// found in the LICENSE file.
4868fa2fe829687343ffae624259930155e16dbd8Torne (Richard Coles)
5868fa2fe829687343ffae624259930155e16dbd8Torne (Richard Coles)#ifndef UI_VIEWS_VIEW_CONSTANTS_AURA_H_
6868fa2fe829687343ffae624259930155e16dbd8Torne (Richard Coles)#define UI_VIEWS_VIEW_CONSTANTS_AURA_H_
7868fa2fe829687343ffae624259930155e16dbd8Torne (Richard Coles)
8868fa2fe829687343ffae624259930155e16dbd8Torne (Richard Coles)#include "ui/aura/window.h"
9868fa2fe829687343ffae624259930155e16dbd8Torne (Richard Coles)#include "ui/views/views_export.h"
10868fa2fe829687343ffae624259930155e16dbd8Torne (Richard Coles)
11868fa2fe829687343ffae624259930155e16dbd8Torne (Richard Coles)namespace views {
12868fa2fe829687343ffae624259930155e16dbd8Torne (Richard Coles)class View;
13868fa2fe829687343ffae624259930155e16dbd8Torne (Richard Coles)
14868fa2fe829687343ffae624259930155e16dbd8Torne (Richard Coles)// A property key to indicate the view the window is associated with. If
15868fa2fe829687343ffae624259930155e16dbd8Torne (Richard Coles)// specified, the z-order of the view, relative to other views, dictates the
16868fa2fe829687343ffae624259930155e16dbd8Torne (Richard Coles)// z-order of the window and its associated layer. The associated view must
17868fa2fe829687343ffae624259930155e16dbd8Torne (Richard Coles)// have the same parent widget as the window on which the property is set.
18868fa2fe829687343ffae624259930155e16dbd8Torne (Richard Coles)VIEWS_EXPORT extern const aura::WindowProperty<View*>* const kHostViewKey;
19868fa2fe829687343ffae624259930155e16dbd8Torne (Richard Coles)
20a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)// A property key to indicate if a window is a desktop root window or not.
21a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)// This property is currently set during creation of desktop root window.
22a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)VIEWS_EXPORT extern const aura::WindowProperty<bool>* const kDesktopRootWindow;
23a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)
24868fa2fe829687343ffae624259930155e16dbd8Torne (Richard Coles)}  // namespace views
25868fa2fe829687343ffae624259930155e16dbd8Torne (Richard Coles)
26868fa2fe829687343ffae624259930155e16dbd8Torne (Richard Coles)#endif  // UI_VIEWS_VIEW_CONSTANTS_AURA_H_
27