Home
last modified time | relevance | path

Searched refs:ShownSectionsHandler (Results 1 – 10 of 10) sorted by relevance

/external/chromium/chrome/browser/ui/webui/
Dshown_sections_handler.cc47 int ShownSectionsHandler::GetShownSections(PrefService* prefs) { in GetShownSections()
52 void ShownSectionsHandler::SetShownSection(PrefService* prefs, in SetShownSection()
60 ShownSectionsHandler::ShownSectionsHandler(PrefService* pref_service) in ShownSectionsHandler() function in ShownSectionsHandler
66 void ShownSectionsHandler::RegisterMessages() { in RegisterMessages()
68 NewCallback(this, &ShownSectionsHandler::HandleGetShownSections)); in RegisterMessages()
70 NewCallback(this, &ShownSectionsHandler::HandleSetShownSections)); in RegisterMessages()
73 void ShownSectionsHandler::Observe(NotificationType type, in Observe()
87 void ShownSectionsHandler::HandleGetShownSections(const ListValue* args) { in HandleGetShownSections()
93 void ShownSectionsHandler::HandleSetShownSections(const ListValue* args) { in HandleSetShownSections()
106 void ShownSectionsHandler::RegisterUserPrefs(PrefService* pref_service) { in RegisterUserPrefs()
[all …]
Dshown_sections_handler.h36 class ShownSectionsHandler : public WebUIMessageHandler,
39 explicit ShownSectionsHandler(PrefService* pref_service);
40 virtual ~ShownSectionsHandler() {} in ~ShownSectionsHandler()
76 DISALLOW_COPY_AND_ASSIGN(ShownSectionsHandler);
Dshown_sections_handler_unittest.cc21 ShownSectionsHandler::MigrateUserPrefs(prefs, 1, 3); in MigratePrefValue()
Dnew_tab_ui.cc316 AddMessageHandler((new ShownSectionsHandler(pref_service))->Attach(this)); in NewTabUI()
439 ShownSectionsHandler::RegisterUserPrefs(prefs); in RegisterUserPrefs()
458 ShownSectionsHandler::MigrateUserPrefs(prefs, old_pref_version, in MigrateUserPrefs()
Dapp_launcher_handler.cc299 ShownSectionsHandler::SetShownSection(prefs, THUMB); in HandleGetApps()
Dntp_resource_cache.cc357 const int shown_sections = ShownSectionsHandler::GetShownSections( in CreateNewTabHTML()
/external/chromium/chrome/browser/extensions/
Dapps_promo_unittest.cc174 (ShownSectionsHandler::GetShownSections(prefs()) & APPS) != 0); in TEST_F()
176 (ShownSectionsHandler::GetShownSections(prefs()) & THUMB) != 0); in TEST_F()
180 EXPECT_TRUE((ShownSectionsHandler::GetShownSections(prefs()) & in TEST_F()
Dapps_promo.cc186 ShownSectionsHandler::SetShownSection(prefs_, APPS); in MaximizeAppsIfFirstView()
196 ShownSectionsHandler::SetShownSection(prefs_, MENU_APPS); in HidePromo()
197 ShownSectionsHandler::SetShownSection(prefs_, THUMB); in HidePromo()
Dextension_service.cc1769 ShownSectionsHandler::OnExtensionInstalled(profile_->GetPrefs(), extension); in OnExtensionInstalled()
/external/chromium/chrome/browser/automation/
Dtesting_automation_provider.cc4790 const int shown_sections = ShownSectionsHandler::GetShownSections( in GetNTPThumbnailMode()
4837 ShownSectionsHandler::SetShownSection(prefs, section); in SetNTPThumbnailMode()
4839 int shown_sections = ShownSectionsHandler::GetShownSections(prefs); in SetNTPThumbnailMode()
4855 const int shown_sections = ShownSectionsHandler::GetShownSections( in GetNTPMenuMode()
4901 int shown_sections = ShownSectionsHandler::GetShownSections(prefs); in SetNTPMenuMode()