OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_AURA_SHELL_EXAMPLES_TOPLEVEL_WINDOW_H_ | 5 #ifndef UI_AURA_SHELL_EXAMPLES_TOPLEVEL_WINDOW_H_ |
6 #define UI_AURA_SHELL_EXAMPLES_TOPLEVEL_WINDOW_H_ | 6 #define UI_AURA_SHELL_EXAMPLES_TOPLEVEL_WINDOW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "views/widget/widget_delegate.h" | 9 #include "ui/views/widget/widget_delegate.h" |
10 | 10 |
11 namespace aura_shell { | 11 namespace aura_shell { |
12 namespace examples { | 12 namespace examples { |
13 | 13 |
14 class ToplevelWindow : public views::WidgetDelegateView { | 14 class ToplevelWindow : public views::WidgetDelegateView { |
15 public: | 15 public: |
16 struct CreateParams { | 16 struct CreateParams { |
17 CreateParams(); | 17 CreateParams(); |
18 | 18 |
19 bool can_resize; | 19 bool can_resize; |
(...skipping 17 matching lines...) Expand all Loading... |
37 | 37 |
38 const CreateParams params_; | 38 const CreateParams params_; |
39 | 39 |
40 DISALLOW_COPY_AND_ASSIGN(ToplevelWindow); | 40 DISALLOW_COPY_AND_ASSIGN(ToplevelWindow); |
41 }; | 41 }; |
42 | 42 |
43 } // namespace examples | 43 } // namespace examples |
44 } // namespace aura_shell | 44 } // namespace aura_shell |
45 | 45 |
46 #endif // UI_AURA_SHELL_EXAMPLES_TOPLEVEL_WINDOW_H_ | 46 #endif // UI_AURA_SHELL_EXAMPLES_TOPLEVEL_WINDOW_H_ |
OLD | NEW |