Home | History | Annotate | Download | only in extensions

Lines Matching refs:theme

21   // Checks that a theme info bar is currently visible and issues an undo to
22 // revert to the previous theme.
41 // Install theme once and undo to verify we go back to default theme.
42 FilePath theme_crx = PackExtension(test_data_dir_.AppendASCII("theme"));
44 const Extension* theme = GetTheme();
45 ASSERT_TRUE(theme);
46 std::string theme_id = theme->id();
50 // Set the same theme twice and undo to verify we go back to default theme.
52 // calls since the theme has already been installed above and this is an
53 // overinstall to set the active theme.
55 theme = GetTheme();
56 ASSERT_TRUE(theme);
57 ASSERT_EQ(theme_id, theme->id());
59 theme = GetTheme();
60 ASSERT_TRUE(theme);
61 ASSERT_EQ(theme_id, theme->id());
68 // Install first theme.
69 FilePath theme_path = test_data_dir_.AppendASCII("theme");
71 const Extension* theme = GetTheme();
72 ASSERT_TRUE(theme);
73 std::string theme_id = theme->id();
75 // Then install second theme.
82 // Undo second theme will revert to first theme.
84 EXPECT_EQ(theme, GetTheme());