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

Unified Diff: chrome/browser/gtk/import_dialog_gtk.h

Issue 114047: Add import progress indicator dialog. (Closed)
Patch Set: code review fixes Created 11 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/gtk/import_dialog_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/import_dialog_gtk.h
diff --git a/chrome/browser/gtk/import_dialog_gtk.h b/chrome/browser/gtk/import_dialog_gtk.h
index 351aed6fd9a11eb4d89289c4fdf8535fcb39f2f3..f3d4f03c8e63e79c695f2c88d55d8c21833d8514 100644
--- a/chrome/browser/gtk/import_dialog_gtk.h
+++ b/chrome/browser/gtk/import_dialog_gtk.h
@@ -7,14 +7,17 @@
#include "chrome/browser/importer/importer.h"
-class Profile;
-typedef struct _GtkWindow GtkWindow;
+#include "chrome/browser/profile.h"
-class ImportDialogGtk {
+class ImportDialogGtk : public ImportObserver {
public:
// Displays the import box to import data from another browser into |profile|
static void Show(GtkWindow* parent, Profile* profile);
+ // Overridden from ImportObserver:
+ virtual void ImportCanceled();
+ virtual void ImportComplete();
+
private:
ImportDialogGtk(GtkWindow* parent, Profile* profile);
~ImportDialogGtk() { }
@@ -26,6 +29,12 @@ class ImportDialogGtk {
}
void OnDialogResponse(GtkWidget* widget, int response);
+ // Parent window
+ GtkWindow* parent_;
+
+ // Import Dialog
+ GtkWidget* dialog_;
+
// Combo box that displays list of profiles from which we can import.
GtkWidget* combo_;
« no previous file with comments | « no previous file | chrome/browser/gtk/import_dialog_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698