Home | History | Annotate | Download | only in views
      1 // Copyright 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 view the window is associated with. If
     15 // specified, the z-order of the view, relative to other views, dictates the
     16 // z-order of the window and its associated layer. The associated view must
     17 // have the same parent widget as the window on which the property is set.
     18 VIEWS_EXPORT extern const aura::WindowProperty<View*>* const kHostViewKey;
     19 
     20 // A property key to indicate if a window is a desktop root window or not.
     21 // This property is currently set during creation of desktop root window.
     22 VIEWS_EXPORT extern const aura::WindowProperty<bool>* const kDesktopRootWindow;
     23 
     24 }  // namespace views
     25 
     26 #endif  // UI_VIEWS_VIEW_CONSTANTS_AURA_H_
     27