/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 | 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 } [all...] |
theme_properties.h | 18 class ThemeProperties { 150 DISALLOW_IMPLICIT_CONSTRUCTORS(ThemeProperties);
|
theme_service.cc | 47 typedef ThemeProperties Properties; 405 return ThemeProperties::GetDefaultTint(id);
|
/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/supervised_user/ |
supervised_user_theme.cc | 52 case ThemeProperties::COLOR_FRAME: 55 case ThemeProperties::COLOR_FRAME_INACTIVE: 58 case ThemeProperties::COLOR_SUPERVISED_USER_LABEL: 61 case ThemeProperties::COLOR_SUPERVISED_USER_LABEL_BACKGROUND:
|
/external/chromium_org/chrome/browser/ui/webui/ntp/ |
ntp_resource_cache.cc | 126 ThemeProperties::NTP_BACKGROUND_ALIGNMENT); 129 return ThemeProperties::AlignmentToString(alignment); 131 if (alignment & ThemeProperties::ALIGN_TOP) { 136 if (alignment & ThemeProperties::ALIGN_LEFT) 138 else if (alignment & ThemeProperties::ALIGN_RIGHT) 143 return ThemeProperties::AlignmentToString(alignment); 151 ThemeProperties::NTP_BACKGROUND_TILING); 152 return ThemeProperties::TilingToString(repeat_mode); 524 ThemeProperties::NTP_BACKGROUND_ALIGNMENT); 526 (alignment & ThemeProperties::ALIGN_RIGHT) ? "right" : "") [all...] |
/external/chromium_org/chrome/browser/search/ |
instant_service.cc | 304 theme_service->GetColor(ThemeProperties::COLOR_NTP_BACKGROUND); 306 theme_service->GetColor(ThemeProperties::COLOR_NTP_TEXT); 308 theme_service->GetColor(ThemeProperties::COLOR_NTP_LINK); 310 theme_service->GetColor(ThemeProperties::COLOR_NTP_TEXT_LIGHT); 312 theme_service->GetColor(ThemeProperties::COLOR_NTP_HEADER); 339 ThemeProperties::NTP_LOGO_ALTERNATE); 348 ThemeProperties::NTP_BACKGROUND_ALIGNMENT); 349 if (alignment & ThemeProperties::ALIGN_LEFT) 351 else if (alignment & ThemeProperties::ALIGN_RIGHT) 357 if (alignment & ThemeProperties::ALIGN_TOP [all...] |
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
gtk2_ui.cc | 312 case ThemeProperties::TINT_FRAME: 314 case ThemeProperties::TINT_FRAME_INACTIVE: 316 case ThemeProperties::TINT_FRAME_INCOGNITO: 318 case ThemeProperties::TINT_FRAME_INCOGNITO_INACTIVE: 320 case ThemeProperties::TINT_BUTTONS: 322 case ThemeProperties::TINT_BACKGROUND_TAB: 837 SetThemeColorFromGtk(ThemeProperties::COLOR_CONTROL_BACKGROUND, 841 SetThemeColorFromGtk(ThemeProperties::COLOR_TOOLBAR, &toolbar_color); 844 SetThemeTintFromGtk(ThemeProperties::TINT_BUTTONS, &button_color); 848 SetThemeColorFromGtk(ThemeProperties::COLOR_TAB_TEXT, &label_color) [all...] |
/external/chromium_org/chrome/browser/ui/views/ |
detachable_toolbar_view.cc | 33 theme_provider->GetColor(ThemeProperties::COLOR_TOOLBAR)); 86 paint.setColor(theme_provider->GetColor(ThemeProperties::COLOR_TOOLBAR)); 98 theme_provider->GetColor(ThemeProperties::COLOR_NTP_HEADER));
|
/external/chromium_org/chrome/browser/ui/views/profiles/ |
avatar_label.cc | 68 ThemeProperties::COLOR_SUPERVISED_USER_LABEL_BACKGROUND); 121 ThemeProperties::COLOR_SUPERVISED_USER_LABEL);
|
/external/chromium_org/chrome/browser/ui/webui/ |
theme_source.cc | 116 if (!ThemeProperties::IsThemeableImage(resource_id)) 143 if (ThemeProperties::IsThemeableImage(resource_id)) {
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
contents_web_view.cc | 58 theme->GetColor(ThemeProperties::COLOR_NTP_BACKGROUND);
|
browser_non_client_frame_view_ash.cc | 488 tp->GetColor(ThemeProperties::COLOR_TOOLBAR)); 533 ThemeProperties::GetDefaultColor( 534 ThemeProperties::COLOR_TOOLBAR_SEPARATOR)); 541 ThemeProperties::GetDefaultColor( 542 ThemeProperties::COLOR_TOOLBAR_SEPARATOR));
|
opaque_browser_frame_view.cc | 541 tp->GetColor(ThemeProperties::COLOR_BUTTON_BACKGROUND), 669 tp->GetColor(ThemeProperties::COLOR_TOOLBAR)); 741 ThemeProperties::GetDefaultColor( 742 ThemeProperties::COLOR_TOOLBAR_SEPARATOR)); 752 SkColor toolbar_color = tp->GetColor(ThemeProperties::COLOR_TOOLBAR); [all...] |
glass_browser_frame_view.cc | 390 ThemeProperties::GetDefaultColor( 391 ThemeProperties::COLOR_TOOLBAR_SEPARATOR)); 430 SkColor toolbar_color = tp->GetColor(ThemeProperties::COLOR_TOOLBAR);
|
/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 | 345 GetThemeProvider()->GetColor(ThemeProperties::COLOR_TOOLBAR))); 348 GetThemeProvider()->GetColor(ThemeProperties::COLOR_BOOKMARK_TEXT)); 350 GetThemeProvider()->GetColor(ThemeProperties::COLOR_TAB_TEXT),
|
/external/chromium_org/chrome/browser/ui/views/omnibox/ |
omnibox_popup_contents_view.cc | 427 ThemeProperties::GetDefaultColor( 428 ThemeProperties::COLOR_TOOLBAR_SEPARATOR));
|
/external/chromium_org/chrome/browser/devtools/ |
devtools_ui_bindings.cc | 296 SkColorToRGBAString(tp->GetColor(ThemeProperties::COLOR_TOOLBAR)) + 298 SkColorToRGBAString(tp->GetColor(ThemeProperties::COLOR_BOOKMARK_TEXT))); 735 SkColorToRGBAString(tp->GetColor(ThemeProperties::COLOR_TOOLBAR)) + 737 SkColorToRGBAString(tp->GetColor(ThemeProperties::COLOR_BOOKMARK_TEXT)) +
|