summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorguohui@chromium.org <guohui@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-01 02:43:15 +0000
committerguohui@chromium.org <guohui@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-01 02:43:15 +0000
commit8b2658fbbd265b4389feb8f5d5aca5815d0db725 (patch)
tree2956d8bfd72f1e1e1ce7058d77e63ad4f12aec48 /chrome/common
parent881b80f580ae99aabf729fc5b4c79cc3ed77da58 (diff)
downloadchromium_src-8b2658fbbd265b4389feb8f5d5aca5815d0db725.zip
chromium_src-8b2658fbbd265b4389feb8f5d5aca5815d0db725.tar.gz
chromium_src-8b2658fbbd265b4389feb8f5d5aca5815d0db725.tar.bz2
The change list fixes the bug that ntp4 bubble should be suppressed on first run.
Patch by guohui@chromium.org BUG=93406 TEST=Delete first run sentinel file and launch chrome. Confirm ntp4 bubble is not shown. Review URL: http://codereview.chromium.org/7716005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99105 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/pref_names.cc3
-rw-r--r--chrome/common/pref_names.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index 75bd8e9..46b3368 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -1208,6 +1208,9 @@ const char kExtensionSidebarWidth[] = "extensions.sidebar.width";
// Number of times the NTP4 informational bubble has been shown.
const char kNTP4IntroDisplayCount[] = "ntp.intro_display_count";
+// Suppress the NTP4 infor bubble for once.
+const char kNTP4SuppressIntroOnce[] = "ntp.supress_intro_once";
+
// New Tab Page URLs that should not be shown as most visited thumbnails.
const char kNTPMostVisitedURLsBlacklist[] = "ntp.most_visited_blacklist";
diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h
index 2469dae..9deb87a 100644
--- a/chrome/common/pref_names.h
+++ b/chrome/common/pref_names.h
@@ -437,6 +437,7 @@ extern const char kExtensionSidebarWidth[];
extern const char kNTPTipsResourceServer[];
extern const char kNTP4IntroDisplayCount[];
+extern const char kNTP4SuppressIntroOnce[];
extern const char kNTPMostVisitedURLsBlacklist[];
extern const char kNTPMostVisitedPinnedURLs[];
extern const char kNTPPromoResourceCache[];