Home | History | Annotate | Download | only in themes

Lines Matching refs:ThemeProperties

267   ThemeProperties::OverwritableByUserThemeProperty id;
272 { "buttons", ThemeProperties::TINT_BUTTONS },
273 { "frame", ThemeProperties::TINT_FRAME },
274 { "frame_inactive", ThemeProperties::TINT_FRAME_INACTIVE },
275 { "frame_incognito", ThemeProperties::TINT_FRAME_INCOGNITO },
277 ThemeProperties::TINT_FRAME_INCOGNITO_INACTIVE },
278 { "background_tab", ThemeProperties::TINT_BACKGROUND_TAB },
284 { "frame", ThemeProperties::COLOR_FRAME },
285 { "frame_inactive", ThemeProperties::COLOR_FRAME_INACTIVE },
286 { "frame_incognito", ThemeProperties::COLOR_FRAME_INCOGNITO },
288 ThemeProperties::COLOR_FRAME_INCOGNITO_INACTIVE },
289 { "toolbar", ThemeProperties::COLOR_TOOLBAR },
290 { "tab_text", ThemeProperties::COLOR_TAB_TEXT },
291 { "tab_background_text", ThemeProperties::COLOR_BACKGROUND_TAB_TEXT },
292 { "bookmark_text", ThemeProperties::COLOR_BOOKMARK_TEXT },
293 { "ntp_background", ThemeProperties::COLOR_NTP_BACKGROUND },
294 { "ntp_text", ThemeProperties::COLOR_NTP_TEXT },
295 { "ntp_link", ThemeProperties::COLOR_NTP_LINK },
296 { "ntp_link_underline", ThemeProperties::COLOR_NTP_LINK_UNDERLINE },
297 { "ntp_header", ThemeProperties::COLOR_NTP_HEADER },
298 { "ntp_section", ThemeProperties::COLOR_NTP_SECTION },
299 { "ntp_section_text", ThemeProperties::COLOR_NTP_SECTION_TEXT },
300 { "ntp_section_link", ThemeProperties::COLOR_NTP_SECTION_LINK },
302 ThemeProperties::COLOR_NTP_SECTION_LINK_UNDERLINE },
303 { "button_background", ThemeProperties::COLOR_BUTTON_BACKGROUND },
310 ThemeProperties::NTP_BACKGROUND_ALIGNMENT },
311 { "ntp_background_repeat", ThemeProperties::NTP_BACKGROUND_TILING },
312 { "ntp_logo_alternate", ThemeProperties::NTP_LOGO_ALTERNATE },
336 { PRS_THEME_FRAME, ThemeProperties::TINT_FRAME },
337 { PRS_THEME_FRAME_INACTIVE, ThemeProperties::TINT_FRAME_INACTIVE },
338 { PRS_THEME_FRAME_OVERLAY, ThemeProperties::TINT_FRAME },
340 ThemeProperties::TINT_FRAME_INACTIVE },
341 { PRS_THEME_FRAME_INCOGNITO, ThemeProperties::TINT_FRAME_INCOGNITO },
343 ThemeProperties::TINT_FRAME_INCOGNITO_INACTIVE },
345 { PRS_THEME_FRAME_DESKTOP, ThemeProperties::TINT_FRAME },
346 { PRS_THEME_FRAME_INACTIVE_DESKTOP, ThemeProperties::TINT_FRAME_INACTIVE },
347 { PRS_THEME_FRAME_INCOGNITO_DESKTOP, ThemeProperties::TINT_FRAME_INCOGNITO },
349 ThemeProperties::TINT_FRAME_INCOGNITO_INACTIVE },
1067 if (!colors->count(ThemeProperties::COLOR_NTP_HEADER) &&
1068 colors->count(ThemeProperties::COLOR_NTP_SECTION)) {
1069 (*colors)[ThemeProperties::COLOR_NTP_HEADER] =
1070 (*colors)[ThemeProperties::COLOR_NTP_SECTION];
1073 if (!colors->count(ThemeProperties::COLOR_NTP_SECTION_LINK_UNDERLINE) &&
1074 colors->count(ThemeProperties::COLOR_NTP_SECTION_LINK)) {
1076 (*colors)[ThemeProperties::COLOR_NTP_SECTION_LINK];
1077 (*colors)[ThemeProperties::COLOR_NTP_SECTION_LINK_UNDERLINE] =
1081 if (!colors->count(ThemeProperties::COLOR_NTP_LINK_UNDERLINE) &&
1082 colors->count(ThemeProperties::COLOR_NTP_LINK)) {
1083 SkColor color_link = (*colors)[ThemeProperties::COLOR_NTP_LINK];
1084 (*colors)[ThemeProperties::COLOR_NTP_LINK_UNDERLINE] =
1091 colors->find(ThemeProperties::COLOR_FRAME);
1095 frame = ThemeProperties::GetDefaultColor(
1096 ThemeProperties::COLOR_FRAME);
1099 if (!colors->count(ThemeProperties::COLOR_FRAME)) {
1100 (*colors)[ThemeProperties::COLOR_FRAME] =
1101 HSLShift(frame, GetTintInternal(ThemeProperties::TINT_FRAME));
1103 if (!colors->count(ThemeProperties::COLOR_FRAME_INACTIVE)) {
1104 (*colors)[ThemeProperties::COLOR_FRAME_INACTIVE] =
1106 ThemeProperties::TINT_FRAME_INACTIVE));
1108 if (!colors->count(ThemeProperties::COLOR_FRAME_INCOGNITO)) {
1109 (*colors)[ThemeProperties::COLOR_FRAME_INCOGNITO] =
1111 ThemeProperties::TINT_FRAME_INCOGNITO));
1113 if (!colors->count(ThemeProperties::COLOR_FRAME_INCOGNITO_INACTIVE)) {
1114 (*colors)[ThemeProperties::COLOR_FRAME_INCOGNITO_INACTIVE] =
1116 ThemeProperties::TINT_FRAME_INCOGNITO_INACTIVE));
1137 case ThemeProperties::NTP_BACKGROUND_ALIGNMENT: {
1140 temp_properties[ThemeProperties::NTP_BACKGROUND_ALIGNMENT] =
1141 ThemeProperties::StringToAlignment(val);
1145 case ThemeProperties::NTP_BACKGROUND_TILING: {
1148 temp_properties[ThemeProperties::NTP_BACKGROUND_TILING] =
1149 ThemeProperties::StringToTiling(val);
1153 case ThemeProperties::NTP_LOGO_ALTERNATE: {
1156 temp_properties[ThemeProperties::NTP_LOGO_ALTERNATE] = val;
1309 CreateTintedButtons(GetTintInternal(ThemeProperties::TINT_BUTTONS), images);
1412 ThemeProperties::GetTintableToolbarButtons();
1440 ThemeProperties::TINT_BACKGROUND_TAB);
1517 return ThemeProperties::GetDefaultTint(id);