Index: chrome/browser/ui/views/extensions/shell_window_views.h |
diff --git a/chrome/browser/ui/views/extensions/shell_window_views.h b/chrome/browser/ui/views/extensions/shell_window_views.h |
new file mode 100755 |
index 0000000000000000000000000000000000000000..6c4445e1cab6d4ebdf8037ecae230bc994c94525 |
--- /dev/null |
+++ b/chrome/browser/ui/views/extensions/shell_window_views.h |
@@ -0,0 +1,38 @@ |
+// Copyright (c) 2011 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 CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_ |
+#define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_ |
+#pragma once |
+ |
+#include "chrome/browser/ui/extensions/shell_window.h" |
+#include "chrome/browser/ui/views/extensions/extension_view.h" |
+#include "ui/views/widget/widget_delegate.h" |
+ |
+class ExtensionHost; |
+ |
+class ShellWindowViews : public ShellWindow, |
+ public ExtensionView::Container, |
+ public views::WidgetDelegate { |
+ public: |
+ explicit ShellWindowViews(ExtensionHost* host); |
+ |
+ // ShellWindow implementation. |
+ virtual void Close() OVERRIDE; |
+ |
+ // WidgetDelegate implementation. |
+ views::View* GetContentsView() OVERRIDE; |
+ views::Widget* GetWidget() OVERRIDE; |
+ const views::Widget* GetWidget() const OVERRIDE; |
+ |
+ private: |
+ virtual ~ShellWindowViews(); |
+ |
+// CHROMEGTK_CALLBACK_1(ShellWindowGtk, gboolean, OnMainWindowDeleteEvent, |
+// GdkEvent*); |
+ |
+ views::Widget* window_; |
+}; |
+ |
+#endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_ |