Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(435)

Side by Side Diff: chrome/browser/ui/gtk/download/download_in_progress_dialog_gtk.h

Issue 231733005: Delete the GTK+ port of Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remerge to ToT Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
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_
7
8 #include "base/basictypes.h"
9 #include "chrome/browser/ui/browser.h"
10 #include "ui/base/gtk/gtk_signal.h"
11 #include "ui/gfx/native_widget_types.h"
12
13 class DownloadInProgressDialogGtk {
14 public:
15 static void Show(gfx::NativeWindow parent_window,
16 int download_count,
17 Browser::DownloadClosePreventionType dialog_type,
18 bool app_modal,
19 const base::Callback<void(bool)>& callback);
20
21 private:
22 DownloadInProgressDialogGtk(gfx::NativeWindow parent_window,
23 int download_count,
24 Browser::DownloadClosePreventionType dialog_type,
25 bool app_modal,
26 const base::Callback<void(bool)>& callback);
27 ~DownloadInProgressDialogGtk();
28
29 CHROMEGTK_CALLBACK_1(DownloadInProgressDialogGtk, void, OnResponse, int);
30
31 const bool app_modal_;
32 const base::Callback<void(bool)> callback_;
33
34 DISALLOW_COPY_AND_ASSIGN(DownloadInProgressDialogGtk);
35 };
36
37 #endif // CHROME_BROWSER_UI_GTK_DOWNLOAD_DOWNLOAD_IN_PROGRESS_DIALOG_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698