HomeSort by relevance Sort by last modified time
    Searched refs:ThemeProperties (Results 1 - 25 of 30) sorted by null

1 2

  /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;
139 int ThemeProperties::StringToAlignment(const std::string& alignment) {
159 int ThemeProperties::StringToTiling(const std::string& tiling) {
173 std::string ThemeProperties::AlignmentToString(int alignment) {
192 std::string ThemeProperties::TilingToString(int tiling) {
204 bool ThemeProperties::IsThemeableImage(int id) {
212 const std::set<int>& ThemeProperties::GetTintableToolbarButtons() {
224 color_utils::HSL ThemeProperties::GetDefaultTint(int id) {
245 SkColor ThemeProperties::GetDefaultColor(int id)
    [all...]
browser_theme_pack.cc 290 ThemeProperties::OverwritableByUserThemeProperty id;
295 { "buttons", ThemeProperties::TINT_BUTTONS },
296 { "frame", ThemeProperties::TINT_FRAME },
297 { "frame_inactive", ThemeProperties::TINT_FRAME_INACTIVE },
298 { "frame_incognito", ThemeProperties::TINT_FRAME_INCOGNITO },
300 ThemeProperties::TINT_FRAME_INCOGNITO_INACTIVE },
301 { "background_tab", ThemeProperties::TINT_BACKGROUND_TAB },
307 { "frame", ThemeProperties::COLOR_FRAME },
308 { "frame_inactive", ThemeProperties::COLOR_FRAME_INACTIVE },
309 { "frame_incognito", ThemeProperties::COLOR_FRAME_INCOGNITO }
    [all...]
theme_properties.h 18 class ThemeProperties {
150 DISALLOW_IMPLICIT_CONSTRUCTORS(ThemeProperties);
theme_service.cc 49 typedef ThemeProperties Properties;
427 return ThemeProperties::GetDefaultTint(id);
  /external/chromium_org/chrome/browser/ui/search/
search_ui.cc 14 return theme_service->GetColor(ThemeProperties::COLOR_TOOLBAR);
20 return ThemeProperties::GetDefaultColor(
21 ThemeProperties::COLOR_TOOLBAR_SEPARATOR);
26 theme_service->GetColor(ThemeProperties::COLOR_BOOKMARK_TEXT), 128);
  /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/
chrome_style.cc 22 return ThemeProperties::GetDefaultColor(
23 ThemeProperties::COLOR_CONTROL_BACKGROUND);
  /external/chromium_org/chrome/browser/ui/webui/ntp/
ntp_resource_cache.cc 128 ThemeProperties::NTP_BACKGROUND_ALIGNMENT);
131 return ThemeProperties::AlignmentToString(alignment);
133 if (alignment & ThemeProperties::ALIGN_TOP) {
138 if (alignment & ThemeProperties::ALIGN_LEFT)
140 else if (alignment & ThemeProperties::ALIGN_RIGHT)
145 return ThemeProperties::AlignmentToString(alignment);
153 ThemeProperties::NTP_BACKGROUND_TILING);
154 return ThemeProperties::TilingToString(repeat_mode);
523 ThemeProperties::NTP_BACKGROUND_ALIGNMENT);
525 (alignment & ThemeProperties::ALIGN_RIGHT) ? "right" : "")
    [all...]
  /external/chromium_org/chrome/browser/search/
instant_service.cc 301 theme_service->GetColor(ThemeProperties::COLOR_NTP_BACKGROUND);
303 theme_service->GetColor(ThemeProperties::COLOR_NTP_TEXT);
305 theme_service->GetColor(ThemeProperties::COLOR_NTP_LINK);
307 theme_service->GetColor(ThemeProperties::COLOR_NTP_TEXT_LIGHT);
309 theme_service->GetColor(ThemeProperties::COLOR_NTP_HEADER);
336 ThemeProperties::NTP_LOGO_ALTERNATE);
345 ThemeProperties::NTP_BACKGROUND_ALIGNMENT);
346 if (alignment & ThemeProperties::ALIGN_LEFT)
348 else if (alignment & ThemeProperties::ALIGN_RIGHT)
354 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:
840 SetThemeColorFromGtk(ThemeProperties::COLOR_CONTROL_BACKGROUND,
844 SetThemeColorFromGtk(ThemeProperties::COLOR_TOOLBAR, &toolbar_color);
847 SetThemeTintFromGtk(ThemeProperties::TINT_BUTTONS, &button_color);
851 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 582 tp->GetColor(ThemeProperties::COLOR_TOOLBAR));
627 ThemeProperties::GetDefaultColor(
628 ThemeProperties::COLOR_TOOLBAR_SEPARATOR));
635 ThemeProperties::GetDefaultColor(
636 ThemeProperties::COLOR_TOOLBAR_SEPARATOR));
opaque_browser_frame_view.cc 546 tp->GetColor(ThemeProperties::COLOR_BUTTON_BACKGROUND),
674 tp->GetColor(ThemeProperties::COLOR_TOOLBAR));
746 ThemeProperties::GetDefaultColor(
747 ThemeProperties::COLOR_TOOLBAR_SEPARATOR));
757 SkColor toolbar_color = tp->GetColor(ThemeProperties::COLOR_TOOLBAR);
    [all...]
glass_browser_frame_view.cc 399 ThemeProperties::GetDefaultColor(
400 ThemeProperties::COLOR_TOOLBAR_SEPARATOR));
439 SkColor toolbar_color = tp->GetColor(ThemeProperties::COLOR_TOOLBAR);
browser_view.cc 224 ThemeProperties::GetDefaultColor(
225 ThemeProperties::COLOR_TOOLBAR_SEPARATOR));
    [all...]
  /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 430 ThemeProperties::GetDefaultColor(
431 ThemeProperties::COLOR_TOOLBAR_SEPARATOR));
  /external/chromium_org/chrome/browser/devtools/
devtools_ui_bindings.cc 308 SkColorToRGBAString(tp->GetColor(ThemeProperties::COLOR_TOOLBAR)) +
310 SkColorToRGBAString(tp->GetColor(ThemeProperties::COLOR_BOOKMARK_TEXT)));
757 SkColorToRGBAString(tp->GetColor(ThemeProperties::COLOR_TOOLBAR)) +
759 SkColorToRGBAString(tp->GetColor(ThemeProperties::COLOR_BOOKMARK_TEXT)) +

Completed in 125 milliseconds

1 2