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

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: Fixed a crash planted in the previous patch. Created 8 years, 5 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 ab461ea4a883a61f0df8b5d1e4113aff4f06ce0b..23a4ed0c09755d1cb37e09a1791605a48b90a3b5 100644
--- a/chrome/browser/ui/startup/default_browser_prompt.h
+++ b/chrome/browser/ui/startup/default_browser_prompt.h
@@ -17,6 +17,11 @@ void ShowDefaultBrowserPrompt(Profile* profile);
// (if necessary and permitted).
void ShowFirstRunDefaultBrowserPrompt(Profile* profile);
+// Indicates if the program should expect a modal 'make Chrome default browser'
+// dialog to appear during the current startup sequence.
+// |is_first_run| indicates if this is the first run.
+bool ExpectDefaultBrowserPromptDialog(Profile* profile, bool is_first_run);
+
} // namespace chrome
#endif // CHROME_BROWSER_UI_STARTUP_DEFAULT_BROWSER_PROMPT_H_

Powered by Google App Engine
This is Rietveld 408576698