Chromium Code Reviews| Index: wm/foreign_window_widget.h |
| diff --git a/wm/foreign_window_widget.h b/wm/foreign_window_widget.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c2fa264bf83ecb4b290c0214fbd8545793160fa4 |
| --- /dev/null |
| +++ b/wm/foreign_window_widget.h |
| @@ -0,0 +1,30 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef WM_FOREIGN_WINDOW_WIDGET_H_ |
| +#define WM_FOREIGN_WINDOW_WIDGET_H_ |
| + |
| +#include "ui/views/widget/widget.h" |
| + |
| +namespace wm { |
| +class ForeignWindow; |
| + |
| +class ForeignWindowWidget : public views::Widget { |
| + public: |
| + static views::Widget* CreateWindow(ForeignWindow* window); |
| + |
| + virtual void Close() OVERRIDE; |
| + |
| + private: |
| + explicit ForeignWindowWidget(ForeignWindow* window); |
| + virtual ~ForeignWindowWidget(); |
| + |
| + scoped_refptr<ForeignWindow> window_; |
|
danakj
2013/02/21 01:33:15
foreign_window_
reveman
2013/02/22 01:26:44
Done.
|
| + |
| + DISALLOW_COPY_AND_ASSIGN(ForeignWindowWidget); |
| +}; |
| + |
| +} // namespace wm |
| + |
| +#endif // WM_FOREIGN_WINDOW_WIDGET_H_ |