diff options
Diffstat (limited to 'chrome/browser/first_run')
-rw-r--r-- | chrome/browser/first_run/first_run.cc | 4 | ||||
-rw-r--r-- | chrome/browser/first_run/first_run_win.cc | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/first_run/first_run.cc b/chrome/browser/first_run/first_run.cc index d384638..8d77bbd 100644 --- a/chrome/browser/first_run/first_run.cc +++ b/chrome/browser/first_run/first_run.cc @@ -519,6 +519,10 @@ void FirstRunBubbleLauncher::Observe( if (contents->GetURL().host() == chrome::kChromeUISyncPromoHost) return; + // Suppress the first run bubble if 'make chrome metro' flow is showing. + if (contents->GetURL().host() == chrome::kChromeUIMetroFlowHost) + return; + // Suppress the first run bubble if the NTP sync promo bubble is showing. if (contents->GetURL().host() == chrome::kChromeUINewTabHost) { NewTabUI* new_tab_ui = diff --git a/chrome/browser/first_run/first_run_win.cc b/chrome/browser/first_run/first_run_win.cc index eb64d8c..906f0ec 100644 --- a/chrome/browser/first_run/first_run_win.cc +++ b/chrome/browser/first_run/first_run_win.cc @@ -28,6 +28,8 @@ #include "chrome/browser/prefs/pref_service.h" #include "chrome/browser/process_singleton.h" #include "chrome/browser/profiles/profile.h" +#include "chrome/browser/shell_integration.h" +#include "chrome/browser/ui/startup/default_browser_prompt.h" #include "chrome/common/chrome_notification_types.h" #include "chrome/common/chrome_paths.h" #include "chrome/common/chrome_result_codes.h" @@ -548,6 +550,7 @@ void AutoImport( process_singleton->Unlock(); CreateSentinel(); #endif // !defined(USE_AURA) + browser::ShowFirstRunDefaultBrowserPrompt(profile); } int ImportNow(Profile* profile, const CommandLine& cmdline) { |