Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: chrome/browser/ui/gtk/extensions/shell_window_gtk.h

Issue 8985008: Don't use browser windows for platform app shell windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable platform app tests on non-GTK platforms. Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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
33 DISALLOW_COPY_AND_ASSIGN(ShellWindowGtk);
34 };
35
36 #endif // CHROME_BROWSER_UI_GTK_EXTENSIONS_SHELL_WINDOW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.cc ('k') | chrome/browser/ui/gtk/extensions/shell_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698