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 CHROME_BROWSER_UI_GTK_EXTENSIONS_SHELL_WINDOW_GTK_H_ | |
6 #define CHROME_BROWSER_UI_GTK_EXTENSIONS_SHELL_WINDOW_GTK_H_ | |
7 #pragma once | |
8 | |
9 #include <gtk/gtk.h> | |
10 | |
11 #include "chrome/browser/ui/extensions/shell_window.h" | |
12 #include "chrome/browser/ui/gtk/extensions/extension_view_gtk.h" | |
13 #include "ui/base/gtk/gtk_signal.h" | |
14 | |
15 class ExtensionHost; | |
16 | |
17 class ShellWindowGtk : public ShellWindow, | |
18 public ExtensionViewGtk::Container { | |
19 public: | |
20 explicit ShellWindowGtk(ExtensionHost* host); | |
21 | |
22 // ShellWindow implementation. | |
23 virtual void Close() OVERRIDE; | |
24 | |
25 private: | |
26 virtual ~ShellWindowGtk(); | |
27 | |
28 CHROMEGTK_CALLBACK_1(ShellWindowGtk, gboolean, OnMainWindowDeleteEvent, | |
29 GdkEvent*); | |
30 | |
31 GtkWindow* window_; | |
32 }; | |
sky
2012/01/06 20:10:25
DISALLOW_COPY_AND_ASSIGN
Mihai Parparita -not on Chrome
2012/01/06 21:33:19
Done.
| |
33 | |
34 #endif // CHROME_BROWSER_UI_GTK_EXTENSIONS_SHELL_WINDOW_GTK_H_ | |
OLD | NEW |