Home | History | Annotate | Download | only in extensions

Lines Matching refs:theme

34   // Checks that a theme info bar is currently visible and issues an undo to
35 // revert to the previous theme.
50 // Install the given theme from the data dir and verify expected name.
55 const Extension* theme = GetTheme();
56 ASSERT_TRUE(theme);
57 ASSERT_EQ(theme->name(), expected_name);
81 // Install theme once and undo to verify we go back to default theme.
82 base::FilePath theme_crx = PackExtension(test_data_dir_.AppendASCII("theme"));
84 const Extension* theme = GetTheme();
85 ASSERT_TRUE(theme);
86 std::string theme_id = theme->id();
90 // Set the same theme twice and undo to verify we go back to default theme.
92 theme = GetTheme();
93 ASSERT_TRUE(theme);
94 ASSERT_EQ(theme_id, theme->id());
96 theme = GetTheme();
97 ASSERT_TRUE(theme);
98 ASSERT_EQ(theme_id, theme->id());
111 // Install first theme.
112 InstallThemeAndVerify("theme", "camo theme");
113 const Extension* theme = GetTheme();
114 std::string theme_id = theme->id();
116 // Then install second theme.
117 InstallThemeAndVerify("theme2", "snowflake theme");
121 // Undo second theme will revert to first theme.
123 EXPECT_EQ(theme, GetTheme());
128 InstallThemeAndVerify("theme", "camo theme");
130 // Reset to default theme.
138 InstallThemeAndVerify("theme", "camo theme");