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.
5 #ifndef UI_V2_PUBLIC_WINDOW_H_
6 #define UI_V2_PUBLIC_WINDOW_H_
8 #include "base/memory/scoped_ptr.h"
9 #include "ui/v2/public/v2_export.h"
10 #include "ui/v2/public/view.h"
14 // A Window is a View that has a nested View hierarchy.
15 // All Windows have Layers.
16 class V2_EXPORT Window
: public View
{
21 View
* contents() { return contents_
.get(); }
24 // Nested view hierarchy.
25 scoped_ptr
<View
> contents_
;
27 DISALLOW_COPY_AND_ASSIGN(Window
);
32 #endif // UI_V2_PUBLIC_WINDOW_H_