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_WEB_AUTH_FLOW_WINDOW_GTK_H_ | |
6 #define CHROME_BROWSER_UI_GTK_EXTENSIONS_WEB_AUTH_FLOW_WINDOW_GTK_H_ | |
7 | |
8 #include <gtk/gtk.h> | |
9 | |
10 #include "base/compiler_specific.h" | |
11 #include "chrome/browser/ui/extensions/web_auth_flow_window.h" | |
12 #include "ui/base/gtk/gtk_signal.h" | |
13 | |
14 namespace content { | |
15 class BrowserContext; | |
16 class WebContents; | |
17 } | |
18 | |
19 class WebAuthFlowWindowGtk : public WebAuthFlowWindow { | |
20 public: | |
21 WebAuthFlowWindowGtk(Delegate* delegate, | |
22 content::BrowserContext* browser_context, | |
23 content::WebContents* contents); | |
24 | |
25 // WebAuthFlowWindow implementation. | |
26 virtual void Show() OVERRIDE; | |
27 | |
28 private: | |
29 virtual ~WebAuthFlowWindowGtk(); | |
30 | |
31 CHROMEGTK_CALLBACK_1(WebAuthFlowWindowGtk, gboolean, OnMainWindowDeleteEvent, | |
32 GdkEvent*); | |
33 | |
34 GtkWindow* window_; | |
35 | |
36 DISALLOW_COPY_AND_ASSIGN(WebAuthFlowWindowGtk); | |
37 }; | |
38 | |
39 #endif // CHROME_BROWSER_UI_GTK_EXTENSIONS_WEB_AUTH_FLOW_WINDOW_GTK_H_ | |
OLD | NEW |