Home
last modified time | relevance | path

Searched refs:kNTPShownSections (Results 1 – 6 of 6) sorted by relevance

/external/chromium/chrome/browser/ui/webui/
Dshown_sections_handler.cc48 return prefs->GetInteger(prefs::kNTPShownSections); in GetShownSections()
57 prefs->SetInteger(prefs::kNTPShownSections, shown_sections); in SetShownSection()
63 pref_registrar_.Add(prefs::kNTPShownSections, this); in ShownSectionsHandler()
78 DCHECK(*pref_name == prefs::kNTPShownSections); in Observe()
79 int sections = pref_service_->GetInteger(prefs::kNTPShownSections); in Observe()
97 int old_mode = pref_service_->GetInteger(prefs::kNTPShownSections); in HandleSetShownSections()
101 pref_service_->SetInteger(prefs::kNTPShownSections, mode); in HandleSetShownSections()
109 pref_service->RegisterIntegerPref(prefs::kNTPShownSections, in RegisterUserPrefs()
112 pref_service->RegisterIntegerPref(prefs::kNTPShownSections, THUMB); in RegisterUserPrefs()
122 pref_service->FindPreference(prefs::kNTPShownSections); in MigrateUserPrefs()
[all …]
Dshown_sections_handler_unittest.cc20 prefs->SetInteger(prefs::kNTPShownSections, starting_value); in MigratePrefValue()
22 return prefs->GetInteger(prefs::kNTPShownSections); in MigratePrefValue()
30 pref->RegisterIntegerPref(prefs::kNTPShownSections, 0); in TEST_F()
Dntp_resource_cache.cc161 pref_change_registrar_.Add(prefs::kNTPShownSections, this); in NTPResourceCache()
206 *pref_name == prefs::kNTPShownSections) { in Observe()
/external/chromium/chrome/common/
Dpref_names.h384 extern const char kNTPShownSections[];
Dpref_names.cc1089 const char kNTPShownSections[] = "ntp.shown_sections"; variable
/external/chromium/chrome/browser/automation/
Dtesting_automation_provider.cc4842 prefs->SetInteger(prefs::kNTPShownSections, shown_sections); in SetNTPThumbnailMode()
4909 prefs->SetInteger(prefs::kNTPShownSections, shown_sections); in SetNTPMenuMode()