explicit TabBackground()
 {
     // TMT_FILLCOLORHINT returns a color value that supposedly
     // approximates the texture drawn by PaintTabPanelBackground.
     SkColor tab_page_color =
         gfx::NativeThemeWin::instance()->GetThemeColorWithDefault(
             gfx::NativeThemeWin::TAB, TABP_BODY, 0, TMT_FILLCOLORHINT,
             COLOR_3DFACE);
     SetNativeControlColor(tab_page_color);
 }
Example #2
0
 explicit SolidBackground(const gfx::Color& color)
 {
     SetNativeControlColor(color);
 }