Don't crash when SimpleCache index is corrupt.
[chromium-blink-merge.git] / ui / views / view_constants_aura.h
blobe0d718d2e85e0c1131dd01c31273ebbc19f4ddca
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.
5 #ifndef UI_VIEWS_VIEW_CONSTANTS_AURA_H_
6 #define UI_VIEWS_VIEW_CONSTANTS_AURA_H_
8 #include "ui/aura/window.h"
9 #include "ui/views/views_export.h"
11 namespace views {
12 class View;
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;
20 } // namespace views
22 #endif // UI_VIEWS_VIEW_CONSTANTS_AURA_H_