OLD | NEW |
(Empty) | |
| 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. |
| 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* foreign_window); |
| 16 |
| 17 virtual void Close() OVERRIDE; |
| 18 |
| 19 private: |
| 20 explicit ForeignWindowWidget(ForeignWindow* foreign_window); |
| 21 virtual ~ForeignWindowWidget(); |
| 22 |
| 23 scoped_refptr<ForeignWindow> foreign_window_; |
| 24 |
| 25 DISALLOW_COPY_AND_ASSIGN(ForeignWindowWidget); |
| 26 }; |
| 27 |
| 28 } // namespace wm |
| 29 |
| 30 #endif // WM_FOREIGN_WINDOW_WIDGET_H_ |
OLD | NEW |