/external/chromium/chrome/browser/themes/ |
theme_service.cc | 55 color_utils::HSL result; 109 const color_utils::HSL kDefaultTintButtons = { -1, -1, -1 }; 110 const color_utils::HSL kDefaultTintFrame = { -1, -1, -1 }; 111 const color_utils::HSL kDefaultTintFrameInactive = { -1, -1, 0.75f }; 112 const color_utils::HSL kDefaultTintFrameIncognito = { -1, 0.2f, 0.35f }; 113 const color_utils::HSL kDefaultTintFrameIncognitoInactive = { -1, 0.3f, 0.6f }; 114 const color_utils::HSL kDefaultTintBackgroundTab = { -1, 0.5, 0.75 }; 432 color_utils::HSL ThemeService::GetDefaultTint(int id) { 447 color_utils::HSL result = {-1, -1, -1}; 540 color_utils::HSL ThemeService::GetTint(int id) const 543 color_utils::HSL hsl; local [all...] |
browser_theme_pack.cc | 454 bool BrowserThemePack::GetTint(int id, color_utils::HSL* hsl) const { 458 hsl->h = tints_[i].h; 459 hsl->s = tints_[i].s; 460 hsl->l = tints_[i].l; 614 std::map<int, color_utils::HSL> temp_tints; 620 color_utils::HSL hsl = { -1, -1, -1 }; local 622 if (ValidDoubleValue(tint_list, 0, &hsl.h) && 623 ValidDoubleValue(tint_list, 1, &hsl.s) & 1040 color_utils::HSL hsl; local [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
browser_titlebar.cc | 109 // Converts a GdkColor to a color_utils::HSL. 110 color_utils::HSL GdkColorToHSL(const GdkColor* color) { 111 color_utils::HSL hsl; local 114 color->blue >> 8), &hsl); 115 return hsl; 124 color_utils::HSL baseHSL = GdkColorToHSL(base); 125 color_utils::HSL oneHSL = GdkColorToHSL(one); 126 color_utils::HSL twoHSL = GdkColorToHSL(two); [all...] |
gtk_theme_service.cc | 53 const color_utils::HSL kGtkFrameShift = { -1, -1, 0.58 }; 57 const color_utils::HSL kDefaultFrameShift = { -1, -1, 0.4 }; 143 color_utils::HSL* tint) { 145 color_utils::HSL accent_tint; 148 color_utils::HSL text_tint; 151 color_utils::HSL background_tint; 154 // If the accent color is gray, then our normal HSL tomfoolery will bring out 234 // Applies an HSL shift to a GdkColor (instead of an SkColor) 235 void GdkColorHSLShift(const color_utils::HSL& shift, GdkColor* frame_color) { 720 color_utils::HSL inactive_tab_text_hsl = tints_[TINT_BACKGROUND_TAB] 876 color_utils::HSL hsl; local 877 color_utils::SkColorToHSL(GdkToSkColor(color), &hsl); local [all...] |
browser_window_gtk.cc | 1759 color_utils::HSL hsl = { -1, 0.5, 0.65 }; local [all...] |