Searched refs:sidebar_defaults (Results 1 – 5 of 5) sorted by relevance
58 const ExtensionSidebarDefaults* sidebar_defaults = in LoadDefaults() local59 extension->sidebar_defaults(); in LoadDefaults()61 title_ = sidebar_defaults->default_title(); in LoadDefaults()63 if (!sidebar_defaults->default_icon_path().empty()) { in LoadDefaults()67 extension->GetResource(sidebar_defaults->default_icon_path()), in LoadDefaults()84 if (extension->sidebar_defaults()->default_page().is_valid()) in Expand()85 Navigate(extension->sidebar_defaults()->default_page()); in Expand()
280 ExtensionSidebarDefaults* sidebar_defaults = extension->sidebar_defaults(); in ValidateExtension() local281 if (sidebar_defaults && sidebar_defaults->default_page().is_valid()) { in ValidateExtension()283 sidebar_defaults->default_page()); in ValidateExtension()
401 ASSERT_TRUE(extension->sidebar_defaults() != NULL); in TEST_F()402 EXPECT_EQ(extension->sidebar_defaults()->default_title(), in TEST_F()404 EXPECT_EQ(extension->sidebar_defaults()->default_icon_path(), in TEST_F()407 extension->sidebar_defaults()->default_page().spec()); in TEST_F()
586 ExtensionSidebarDefaults* sidebar_defaults() const { in sidebar_defaults() function
91 if (!GetExtension()->sidebar_defaults()) { in RunImpl()