| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_GTK_EXTERNAL_PROTOCOL_DIALOG_GTK_H_ | 5 #ifndef CHROME_BROWSER_GTK_EXTERNAL_PROTOCOL_DIALOG_GTK_H_ |
| 6 #define CHROME_BROWSER_GTK_EXTERNAL_PROTOCOL_DIALOG_GTK_H_ | 6 #define CHROME_BROWSER_GTK_EXTERNAL_PROTOCOL_DIALOG_GTK_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "app/gtk_signal.h" | 9 #include "chrome/browser/ui/gtk/external_protocol_dialog_gtk.h" |
| 10 #include "base/time.h" | 10 // TODO(msw): remove this file once all includes have been updated. |
| 11 #include "googleurl/src/gurl.h" | |
| 12 | |
| 13 class TabContents; | |
| 14 | |
| 15 typedef struct _GtkWidget GtkWidget; | |
| 16 | |
| 17 class ExternalProtocolDialogGtk { | |
| 18 public: | |
| 19 explicit ExternalProtocolDialogGtk(const GURL& url); | |
| 20 | |
| 21 protected: | |
| 22 virtual ~ExternalProtocolDialogGtk() {} | |
| 23 | |
| 24 private: | |
| 25 CHROMEGTK_CALLBACK_1(ExternalProtocolDialogGtk, void, OnDialogResponse, int); | |
| 26 | |
| 27 GtkWidget* dialog_; | |
| 28 GtkWidget* checkbox_; | |
| 29 GURL url_; | |
| 30 base::TimeTicks creation_time_; | |
| 31 }; | |
| 32 | 11 |
| 33 #endif // CHROME_BROWSER_GTK_EXTERNAL_PROTOCOL_DIALOG_GTK_H_ | 12 #endif // CHROME_BROWSER_GTK_EXTERNAL_PROTOCOL_DIALOG_GTK_H_ |
| OLD | NEW |