OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2012 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 WM_FOREIGN_WINDOW_WIDGET_H_ | |
6 #define WM_FOREIGN_WINDOW_WIDGET_H_ | |
7 | |
8 #include "ui/views/widget/widget.h" | |
9 | |
10 namespace wm { | |
11 class ForeignWindow; | |
12 | |
13 class ForeignWindowWidget : public views::Widget { | |
14 public: | |
15 static views::Widget* CreateWindow(ForeignWindow* window); | |
16 | |
17 virtual void Close() OVERRIDE; | |
18 | |
19 private: | |
20 explicit ForeignWindowWidget(ForeignWindow* window); | |
21 virtual ~ForeignWindowWidget(); | |
22 | |
23 scoped_refptr<ForeignWindow> window_; | |
danakj
2013/02/21 01:33:15
foreign_window_
reveman
2013/02/22 01:26:44
Done.
| |
24 | |
25 DISALLOW_COPY_AND_ASSIGN(ForeignWindowWidget); | |
26 }; | |
27 | |
28 } // namespace wm | |
29 | |
30 #endif // WM_FOREIGN_WINDOW_WIDGET_H_ | |
OLD | NEW |