This source file includes following definitions.
- GetDetachedBookmarkBarBackgroundColor
- GetDetachedBookmarkBarSeparatorColor
#include "chrome/browser/ui/search/search_ui.h"
#include "chrome/browser/themes/theme_properties.h"
#include "chrome/browser/themes/theme_service.h"
#include "grit/theme_resources.h"
namespace chrome {
SkColor GetDetachedBookmarkBarBackgroundColor(ThemeService* theme_service) {
if (!theme_service->UsingDefaultTheme())
return theme_service->GetColor(ThemeProperties::COLOR_TOOLBAR);
return SkColorSetARGB(0xFF, 0xF1, 0xF1, 0xF1);
}
SkColor GetDetachedBookmarkBarSeparatorColor(ThemeService* theme_service) {
if (theme_service->UsingDefaultTheme()) {
return ThemeProperties::GetDefaultColor(
ThemeProperties::COLOR_TOOLBAR_SEPARATOR);
}
return SkColorSetA(
theme_service->GetColor(ThemeProperties::COLOR_BOOKMARK_TEXT), 128);
}
}