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

Unified Diff: chrome/browser/ui/startup/default_browser_prompt.h

Issue 10696093: Hide the main window when Set-As-Default dialog is present. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved close/reshow code to the dialog delegate. Created 8 years, 4 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
Index: chrome/browser/ui/startup/default_browser_prompt.h
diff --git a/chrome/browser/ui/startup/default_browser_prompt.h b/chrome/browser/ui/startup/default_browser_prompt.h
index 947ceb9db05cfa5bb20c89b6dbead15d46f28fb7..ca06150189f0c59a0887c55f1ccaf3b87ed29903 100644
--- a/chrome/browser/ui/startup/default_browser_prompt.h
+++ b/chrome/browser/ui/startup/default_browser_prompt.h
@@ -13,8 +13,8 @@ namespace chrome {
void ShowDefaultBrowserPrompt(Profile* profile);
// Shows a prompt UI to set the default browser on first run
-// (if necessary and permitted).
-void ShowFirstRunDefaultBrowserPrompt(Profile* profile);
+// (if necessary and permitted). Returns true if the dialog has been launched.
+bool ShowFirstRunDefaultBrowserPrompt(Profile* profile);
} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698