Lines Matching refs:ThemeService
38 ThemeService::GetDefaultColor(
39 ThemeService::COLOR_FRAME),
40 ThemeService::GetDefaultTint(tint));
48 for (int i = ThemeService::COLOR_FRAME;
49 i <= ThemeService::COLOR_BUTTON_BACKGROUND; ++i) {
50 colors[i] = ThemeService::GetDefaultColor(i);
53 GenerateDefaultFrameColor(&colors, ThemeService::COLOR_FRAME,
54 ThemeService::TINT_FRAME);
56 ThemeService::COLOR_FRAME_INACTIVE,
57 ThemeService::TINT_FRAME_INACTIVE);
59 ThemeService::COLOR_FRAME_INCOGNITO,
60 ThemeService::TINT_FRAME_INCOGNITO);
63 ThemeService::COLOR_FRAME_INCOGNITO_INACTIVE,
64 ThemeService::TINT_FRAME_INCOGNITO_INACTIVE);
72 SkColor color = ThemeService::GetDefaultColor(it->first);
151 EXPECT_TRUE(pack->GetColor(ThemeService::COLOR_BOOKMARK_TEXT,
155 EXPECT_TRUE(pack->GetColor(ThemeService::COLOR_NTP_BACKGROUND,
161 EXPECT_TRUE(pack->GetTint(ThemeService::TINT_BUTTONS, &actual));
168 ThemeService::NTP_BACKGROUND_ALIGNMENT, &val));
169 EXPECT_EQ(ThemeService::ALIGN_TOP, val);
188 EXPECT_FALSE(pack->GetColor(ThemeService::COLOR_CONTROL_BACKGROUND,
190 EXPECT_FALSE(pack->GetTint(ThemeService::TINT_FRAME, &actual));
210 colors[ThemeService::COLOR_NTP_LINK] = link_color;
211 colors[ThemeService::COLOR_NTP_LINK_UNDERLINE] =
213 colors[ThemeService::COLOR_NTP_SECTION_LINK] = link_color;
214 colors[ThemeService::COLOR_NTP_SECTION_LINK_UNDERLINE] =
232 colors[ThemeService::COLOR_NTP_LINK] = link_color;
233 colors[ThemeService::COLOR_NTP_LINK_UNDERLINE] = underline_color;
234 colors[ThemeService::COLOR_NTP_SECTION_LINK] = link_color;
235 colors[ThemeService::COLOR_NTP_SECTION_LINK_UNDERLINE] =
247 colors[ThemeService::COLOR_NTP_HEADER] = ntp_color;
248 colors[ThemeService::COLOR_NTP_SECTION] = ntp_color;
260 colors[ThemeService::COLOR_NTP_HEADER] = ntp_header;
261 colors[ThemeService::COLOR_NTP_SECTION] = ntp_section;
272 ThemeService::TINT_BUTTONS, &actual));
286 ThemeService::NTP_BACKGROUND_ALIGNMENT, &out_val));
287 EXPECT_EQ(ThemeService::ALIGN_BOTTOM, out_val);
290 ThemeService::NTP_BACKGROUND_TILING, &out_val));
291 EXPECT_EQ(ThemeService::REPEAT_X, out_val);
294 ThemeService::NTP_LOGO_ALTERNATE, &out_val));
338 EXPECT_FALSE(theme_pack_->GetTint(ThemeService::TINT_BUTTONS,
349 ThemeService::NTP_BACKGROUND_ALIGNMENT, &out_val));