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

Unified Diff: chrome/browser/first_run/first_run.cc

Issue 10539169: Prototype version of the first-run dialog for Windows 8 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update after owners' review. Created 8 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
Index: chrome/browser/first_run/first_run.cc
diff --git a/chrome/browser/first_run/first_run.cc b/chrome/browser/first_run/first_run.cc
index d38463871d87d70741f70923c637358f9165fb1e..8d77bbd930fd346dd09981dfecb8f86ce6163143 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 =
« no previous file with comments | « chrome/browser/external_protocol/external_protocol_handler_unittest.cc ('k') | chrome/browser/first_run/first_run_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698