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_UI_GTK_EXTERNAL_PROTOCOL_DIALOG_GTK_H_ |
| 6 #define CHROME_BROWSER_UI_GTK_EXTERNAL_PROTOCOL_DIALOG_GTK_H_ |
| 7 #pragma once |
| 8 |
| 9 #include "app/gtk_signal.h" |
| 10 #include "base/time.h" |
| 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 |
| 33 #endif // CHROME_BROWSER_UI_GTK_EXTERNAL_PROTOCOL_DIALOG_GTK_H_ |
OLD | NEW |