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

Unified Diff: chrome/browser/importer/importer.h

Issue 131080: Linux: make import warning dialog modal. (Closed)
Patch Set: Created 11 years, 6 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 | « chrome/browser/gtk/import_progress_dialog_gtk.cc ('k') | chrome/browser/importer/importer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/importer.h
diff --git a/chrome/browser/importer/importer.h b/chrome/browser/importer/importer.h
index b42bc20eb2c9daf3f8e0e941e169469af81518d2..035e92550f2552412fbfd8259faed3e84084ee7a 100644
--- a/chrome/browser/importer/importer.h
+++ b/chrome/browser/importer/importer.h
@@ -223,6 +223,10 @@ class ImporterHost : public base::RefCounted<ImporterHost>,
return headless_;
}
+ void set_parent_window(gfx::NativeWindow parent_window) {
+ parent_window_ = parent_window;
+ }
+
// An interface which an object can implement to be notified of events during
// the import process.
class Observer {
@@ -310,6 +314,9 @@ class ImporterHost : public base::RefCounted<ImporterHost>,
// True if UI is not to be shown.
bool headless_;
+ // Parent Window to use when showing any modal dialog boxes.
+ gfx::NativeWindow parent_window_;
+
// Firefox profile lock.
scoped_ptr<FirefoxProfileLock> firefox_lock_;
« no previous file with comments | « chrome/browser/gtk/import_progress_dialog_gtk.cc ('k') | chrome/browser/importer/importer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698