/external/chromium_org/chrome/browser/themes/ |
theme_properties_unittest.cc | 16 int alignment = ThemeProperties::StringToAlignment(top_left); 17 EXPECT_EQ(ThemeProperties::ALIGN_TOP | ThemeProperties::ALIGN_LEFT, 19 EXPECT_EQ(top_left, ThemeProperties::AlignmentToString(alignment)); 22 alignment = ThemeProperties::StringToAlignment("top"); 23 EXPECT_EQ(ThemeProperties::ALIGN_TOP, alignment); 24 EXPECT_EQ("center top", ThemeProperties::AlignmentToString(alignment)); 26 alignment = ThemeProperties::StringToAlignment("left"); 27 EXPECT_EQ(ThemeProperties::ALIGN_LEFT, alignment); 28 EXPECT_EQ("left center", ThemeProperties::AlignmentToString(alignment)) [all...] |
browser_theme_pack_unittest.cc | 56 ThemeProperties::GetDefaultColor( 57 ThemeProperties::COLOR_FRAME), 58 ThemeProperties::GetDefaultTint(tint)); 66 for (int i = ThemeProperties::COLOR_FRAME; 67 i <= ThemeProperties::COLOR_BUTTON_BACKGROUND; ++i) { 68 colors[i] = ThemeProperties::GetDefaultColor(i); 71 GenerateDefaultFrameColor(&colors, ThemeProperties::COLOR_FRAME, 72 ThemeProperties::TINT_FRAME); 74 ThemeProperties::COLOR_FRAME_INACTIVE, 75 ThemeProperties::TINT_FRAME_INACTIVE) [all...] |
theme_service_browsertest.cc | 53 ThemeProperties::COLOR_TOOLBAR)); 62 ThemeProperties::COLOR_TOOLBAR)); 79 ThemeProperties::COLOR_TOOLBAR));
|
theme_properties.cc | 74 ThemeProperties::ALIGN_CENTER; 76 ThemeProperties::NO_REPEAT; 136 int ThemeProperties::StringToAlignment(const std::string& alignment) { 156 int ThemeProperties::StringToTiling(const std::string& tiling) { 170 std::string ThemeProperties::AlignmentToString(int alignment) { 189 std::string ThemeProperties::TilingToString(int tiling) { 201 bool ThemeProperties::IsThemeableImage(int id) { 209 const std::set<int>& ThemeProperties::GetTintableToolbarButtons() { 221 color_utils::HSL ThemeProperties::GetDefaultTint(int id) { 242 SkColor ThemeProperties::GetDefaultColor(int id) [all...] |
browser_theme_pack.cc | 268 ThemeProperties::OverwritableByUserThemeProperty id; 273 { "buttons", ThemeProperties::TINT_BUTTONS }, 274 { "frame", ThemeProperties::TINT_FRAME }, 275 { "frame_inactive", ThemeProperties::TINT_FRAME_INACTIVE }, 276 { "frame_incognito", ThemeProperties::TINT_FRAME_INCOGNITO }, 278 ThemeProperties::TINT_FRAME_INCOGNITO_INACTIVE }, 279 { "background_tab", ThemeProperties::TINT_BACKGROUND_TAB }, 285 { "frame", ThemeProperties::COLOR_FRAME }, 286 { "frame_inactive", ThemeProperties::COLOR_FRAME_INACTIVE }, 287 { "frame_incognito", ThemeProperties::COLOR_FRAME_INCOGNITO } [all...] |
theme_properties.h | 18 class ThemeProperties { 150 DISALLOW_IMPLICIT_CONSTRUCTORS(ThemeProperties);
|
/external/chromium_org/chrome/browser/ui/search/ |
search_ui.cc | 15 return theme_service->GetColor(ThemeProperties::COLOR_TOOLBAR); 21 return ThemeProperties::GetDefaultColor( 22 ThemeProperties::COLOR_TOOLBAR_SEPARATOR); 27 theme_service->GetColor(ThemeProperties::COLOR_BOOKMARK_TEXT), 128);
|
/external/chromium_org/chrome/browser/ui/ |
ntp_background_util.cc | 28 if (alignment & ThemeProperties::ALIGN_BOTTOM) { 30 } else if (alignment & ThemeProperties::ALIGN_TOP) { 37 if (alignment & ThemeProperties::ALIGN_RIGHT) { 39 } else if (alignment & ThemeProperties::ALIGN_LEFT) { 46 if (tiling != ThemeProperties::REPEAT && 47 tiling != ThemeProperties::REPEAT_X) { 53 if (tiling != ThemeProperties::REPEAT && 54 tiling != ThemeProperties::REPEAT_Y) { 74 canvas->FillRect(area, tp->GetColor(ThemeProperties::COLOR_NTP_BACKGROUND)); 77 int tiling = tp->GetDisplayProperty(ThemeProperties::NTP_BACKGROUND_TILING) [all...] |
chrome_style.cc | 22 return ThemeProperties::GetDefaultColor( 23 ThemeProperties::COLOR_CONTROL_BACKGROUND);
|
/external/chromium_org/chrome/browser/managed_mode/ |
managed_user_theme.cc | 46 case ThemeProperties::COLOR_FRAME: 49 case ThemeProperties::COLOR_FRAME_INACTIVE: 52 case ThemeProperties::COLOR_MANAGED_USER_LABEL: 55 case ThemeProperties::COLOR_MANAGED_USER_LABEL_BACKGROUND:
|
/external/chromium_org/chrome/browser/ui/gtk/ |
gtk_theme_service_unittest.cc | 40 for (int i = ThemeProperties::COLOR_FRAME; 41 i <= ThemeProperties::COLOR_BUTTON_BACKGROUND; ++i) { 42 EXPECT_EQ(provider_->GetColor(i), ThemeProperties::GetDefaultColor(i)) 59 EXPECT_EQ(provider_->GetColor(ThemeProperties::COLOR_TAB_TEXT),
|
gtk_theme_service.cc | 129 ThemeProperties::GetTintableToolbarButtons(); 451 text = GetGdkColor(ThemeProperties::COLOR_BOOKMARK_TEXT); 452 bg = GetGdkColor(ThemeProperties::COLOR_TOOLBAR); 730 SetThemeColorFromGtk(ThemeProperties::COLOR_CONTROL_BACKGROUND, 734 SetThemeColorFromGtk(ThemeProperties::COLOR_TOOLBAR, &toolbar_color); 737 SetThemeTintFromGtk(ThemeProperties::TINT_BUTTONS, &button_color); 741 SetThemeColorFromGtk(ThemeProperties::COLOR_TAB_TEXT, &label_color); 742 SetThemeColorFromGtk(ThemeProperties::COLOR_BOOKMARK_TEXT, &label_color); 756 tints_[ThemeProperties::TINT_BACKGROUND_TAB]; 767 colors_[ThemeProperties::COLOR_BACKGROUND_TAB_TEXT] [all...] |
/external/chromium_org/chrome/browser/ui/gtk/bookmarks/ |
bookmark_bar_instructions_gtk.cc | 73 ThemeProperties::COLOR_BOOKMARK_TEXT); 84 if (theme_service_->GetColor(ThemeProperties::COLOR_BOOKMARK_TEXT) == 85 ThemeProperties::GetDefaultColor( 86 ThemeProperties::COLOR_BOOKMARK_TEXT)) {
|
bookmark_utils_gtk.cc | 202 provider->GetColor(ThemeProperties::COLOR_BOOKMARK_TEXT)); 215 ThemeProperties::COLOR_TOOLBAR); 301 ThemeProperties::COLOR_BOOKMARK_TEXT);
|
/external/chromium_org/chrome/browser/ui/webui/ntp/ |
ntp_resource_cache.cc | 130 ThemeProperties::NTP_BACKGROUND_ALIGNMENT); 133 return ThemeProperties::AlignmentToString(alignment); 135 if (alignment & ThemeProperties::ALIGN_TOP) { 140 if (alignment & ThemeProperties::ALIGN_LEFT) 142 else if (alignment & ThemeProperties::ALIGN_RIGHT) 147 return ThemeProperties::AlignmentToString(alignment); 155 ThemeProperties::NTP_BACKGROUND_TILING); 156 return ThemeProperties::TilingToString(repeat_mode); 514 ThemeProperties::NTP_BACKGROUND_ALIGNMENT); 516 (alignment & ThemeProperties::ALIGN_RIGHT) ? "right" : "") [all...] |
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
gtk2_ui.cc | 291 case ThemeProperties::TINT_FRAME: 293 case ThemeProperties::TINT_FRAME_INACTIVE: 295 case ThemeProperties::TINT_FRAME_INCOGNITO: 297 case ThemeProperties::TINT_FRAME_INCOGNITO_INACTIVE: 299 case ThemeProperties::TINT_BUTTONS: 301 case ThemeProperties::TINT_BACKGROUND_TAB: 675 SetThemeColorFromGtk(ThemeProperties::COLOR_CONTROL_BACKGROUND, 679 SetThemeColorFromGtk(ThemeProperties::COLOR_TOOLBAR, &toolbar_color); 682 SetThemeTintFromGtk(ThemeProperties::TINT_BUTTONS, &button_color); 686 SetThemeColorFromGtk(ThemeProperties::COLOR_TAB_TEXT, &label_color) [all...] |
/external/chromium_org/chrome/browser/search/ |
instant_service.cc | 344 theme_service->GetColor(ThemeProperties::COLOR_NTP_BACKGROUND); 346 theme_service->GetColor(ThemeProperties::COLOR_NTP_TEXT); 348 theme_service->GetColor(ThemeProperties::COLOR_NTP_LINK); 350 theme_service->GetColor(ThemeProperties::COLOR_NTP_TEXT_LIGHT); 352 theme_service->GetColor(ThemeProperties::COLOR_NTP_HEADER); 379 ThemeProperties::NTP_LOGO_ALTERNATE); 388 ThemeProperties::NTP_BACKGROUND_ALIGNMENT); 389 if (alignment & ThemeProperties::ALIGN_LEFT) 391 else if (alignment & ThemeProperties::ALIGN_RIGHT) 397 if (alignment & ThemeProperties::ALIGN_TOP [all...] |
/external/chromium_org/chrome/browser/ui/views/ |
detachable_toolbar_view.cc | 33 theme_provider->GetColor(ThemeProperties::COLOR_TOOLBAR)); 87 paint.setColor(theme_provider->GetColor(ThemeProperties::COLOR_TOOLBAR)); 99 theme_provider->GetColor(ThemeProperties::COLOR_NTP_HEADER));
|
avatar_label.cc | 69 ThemeProperties::COLOR_MANAGED_USER_LABEL_BACKGROUND); 117 ThemeProperties::COLOR_MANAGED_USER_LABEL);
|
/external/chromium_org/chrome/browser/ui/gtk/download/ |
download_shelf_gtk.cc | 250 ThemeProperties::COLOR_TOOLBAR); 260 ThemeProperties::COLOR_BOOKMARK_TEXT) == 261 ThemeProperties::GetDefaultColor( 262 ThemeProperties::COLOR_BOOKMARK_TEXT); 264 ThemeProperties::COLOR_BOOKMARK_TEXT); 271 theme_service_->GetColor(ThemeProperties::COLOR_TAB_TEXT),
|
/external/chromium_org/chrome/browser/ui/webui/ |
theme_source.cc | 116 if (!ThemeProperties::IsThemeableImage(resource_id)) 141 if (ThemeProperties::IsThemeableImage(resource_id)) {
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
opaque_browser_frame_view.cc | 548 tp->GetColor(ThemeProperties::COLOR_BUTTON_BACKGROUND), 662 tp->GetColor(ThemeProperties::COLOR_TOOLBAR)); 734 ThemeProperties::GetDefaultColor( 735 ThemeProperties::COLOR_TOOLBAR_SEPARATOR)); 745 SkColor toolbar_color = tp->GetColor(ThemeProperties::COLOR_TOOLBAR); [all...] |
browser_non_client_frame_view_ash.cc | 458 tp->GetColor(ThemeProperties::COLOR_TOOLBAR)); 503 ThemeProperties::GetDefaultColor( 504 ThemeProperties::COLOR_TOOLBAR_SEPARATOR)); 510 ThemeProperties::GetDefaultColor( 511 ThemeProperties::COLOR_TOOLBAR_SEPARATOR));
|
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
bookmark_bar_instructions_view.cc | 125 theme_provider->GetColor(ThemeProperties::COLOR_BOOKMARK_TEXT);
|
/external/chromium_org/chrome/browser/ui/views/download/ |
download_shelf_view.cc | 341 GetThemeProvider()->GetColor(ThemeProperties::COLOR_TOOLBAR))); 344 GetThemeProvider()->GetColor(ThemeProperties::COLOR_BOOKMARK_TEXT)); 346 GetThemeProvider()->GetColor(ThemeProperties::COLOR_TAB_TEXT),
|