| 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_DOWNLOAD_IN_PROGRESS_DIALOG_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_DOWNLOAD_IN_PROGRESS_DIALOG_GTK_H_ |
| 6 #define CHROME_BROWSER_GTK_DOWNLOAD_IN_PROGRESS_DIALOG_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_DOWNLOAD_IN_PROGRESS_DIALOG_GTK_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "app/gtk_signal.h" | 9 #include "app/gtk_signal.h" |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 | 11 |
| 12 class Browser; | 12 class Browser; |
| 13 | 13 |
| 14 typedef struct _GtkWidget GtkWidget; | 14 typedef struct _GtkWidget GtkWidget; |
| 15 | 15 |
| 16 class DownloadInProgressDialogGtk { | 16 class DownloadInProgressDialogGtk { |
| 17 public: | 17 public: |
| 18 explicit DownloadInProgressDialogGtk(Browser* browser); | 18 explicit DownloadInProgressDialogGtk(Browser* browser); |
| 19 | 19 |
| 20 protected: | 20 protected: |
| 21 virtual ~DownloadInProgressDialogGtk() {} | 21 virtual ~DownloadInProgressDialogGtk() {} |
| 22 | 22 |
| 23 private: | 23 private: |
| 24 CHROMEGTK_CALLBACK_1(DownloadInProgressDialogGtk, void, OnResponse, int); | 24 CHROMEGTK_CALLBACK_1(DownloadInProgressDialogGtk, void, OnResponse, int); |
| 25 | 25 |
| 26 Browser* browser_; | 26 Browser* browser_; |
| 27 | 27 |
| 28 DISALLOW_COPY_AND_ASSIGN(DownloadInProgressDialogGtk); | 28 DISALLOW_COPY_AND_ASSIGN(DownloadInProgressDialogGtk); |
| 29 }; | 29 }; |
| 30 | 30 |
| 31 #endif // CHROME_BROWSER_GTK_DOWNLOAD_IN_PROGRESS_DIALOG_GTK_H_ | 31 #endif // CHROME_BROWSER_UI_GTK_DOWNLOAD_IN_PROGRESS_DIALOG_GTK_H_ |
| OLD | NEW |