| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2009 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_GTK_EXTERNAL_PROTOCOL_DIALOG_GTK_H_ |
| 6 #define CHROME_BROWSER_GTK_EXTERNAL_PROTOCOL_DIALOG_GTK_H_ |
| 7 |
| 8 #include "base/time.h" |
| 9 #include "googleurl/src/gurl.h" |
| 10 |
| 11 class TabContents; |
| 12 |
| 13 typedef struct _GtkWidget GtkWidget; |
| 14 |
| 15 class ExternalProtocolDialogGtk { |
| 16 public: |
| 17 ExternalProtocolDialogGtk(const GURL& url, TabContents* tab_contents); |
| 18 |
| 19 private: |
| 20 static void OnDialogResponse(GtkWidget* widget, |
| 21 int response, |
| 22 ExternalProtocolDialogGtk* dialog); |
| 23 |
| 24 GtkWidget* dialog_; |
| 25 GURL url_; |
| 26 base::Time creation_time_; |
| 27 }; |
| 28 |
| 29 #endif // CHROME_BROWSER_GTK_EXTERNAL_PROTOCOL_DIALOG_GTK_H_ |
| OLD | NEW |