mojo: Fix map of booleans for python bindings.
[chromium-blink-merge.git] / ui / v2 / public / window.h
blob05e7926782add4780c08a53a4dc1a1b0349e5b04
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"
12 namespace v2 {
14 // A Window is a View that has a nested View hierarchy.
15 // All Windows have Layers.
16 class V2_EXPORT Window : public View {
17 public:
18 Window();
19 virtual ~Window();
21 View* contents() { return contents_.get(); }
23 private:
24 // Nested view hierarchy.
25 scoped_ptr<View> contents_;
27 DISALLOW_COPY_AND_ASSIGN(Window);
30 } // namespace v2
32 #endif // UI_V2_PUBLIC_WINDOW_H_