OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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_UI_GTK_DOWNLOAD_DOWNLOAD_IN_PROGRESS_DIALOG_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_DOWNLOAD_DOWNLOAD_IN_PROGRESS_DIALOG_GTK_H_ |
6 #define CHROME_BROWSER_UI_GTK_DOWNLOAD_DOWNLOAD_IN_PROGRESS_DIALOG_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_DOWNLOAD_DOWNLOAD_IN_PROGRESS_DIALOG_GTK_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "ui/base/gtk/gtk_signal.h" | 9 #include "ui/base/gtk/gtk_signal.h" |
10 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
11 | 11 |
12 class Browser; | 12 class Browser; |
13 | 13 |
14 class DownloadInProgressDialogGtk { | 14 class DownloadInProgressDialogGtk { |
15 public: | 15 public: |
16 static void Show(Browser* browser, gfx::NativeWindow parent_window); | 16 static void Show(Browser* browser, gfx::NativeWindow parent_window); |
17 | 17 |
18 private: | 18 private: |
19 explicit DownloadInProgressDialogGtk(Browser* browser, | 19 DownloadInProgressDialogGtk(Browser* browser, |
20 gfx::NativeWindow parent_window); | 20 gfx::NativeWindow parent_window); |
21 ~DownloadInProgressDialogGtk(); | 21 ~DownloadInProgressDialogGtk(); |
22 | 22 |
23 CHROMEGTK_CALLBACK_1(DownloadInProgressDialogGtk, void, OnResponse, int); | 23 CHROMEGTK_CALLBACK_1(DownloadInProgressDialogGtk, void, OnResponse, int); |
24 | 24 |
25 Browser* browser_; | 25 Browser* browser_; |
26 | 26 |
27 DISALLOW_COPY_AND_ASSIGN(DownloadInProgressDialogGtk); | 27 DISALLOW_COPY_AND_ASSIGN(DownloadInProgressDialogGtk); |
28 }; | 28 }; |
29 | 29 |
30 #endif // CHROME_BROWSER_UI_GTK_DOWNLOAD_DOWNLOAD_IN_PROGRESS_DIALOG_GTK_H_ | 30 #endif // CHROME_BROWSER_UI_GTK_DOWNLOAD_DOWNLOAD_IN_PROGRESS_DIALOG_GTK_H_ |
OLD | NEW |