const int kBottomSeparatorHeight = 1;
const int kMaxFolderNameWidth = 300;
-const SkColor kHintTextColor = SkColorSetRGB(0xA0, 0xA0, 0xA0);
-
} // namespace
class FolderHeaderView::FolderNameView : public views::Textfield {
SetFocusPainter(views::Painter::CreateSolidFocusPainter(
kFocusBorderColor,
gfx::Insets(0, 0, 1, 1)));
- }
- virtual ~FolderNameView() {
+ SetTextColor(kFolderTitleColor);
}
+ ~FolderNameView() override {}
+
private:
DISALLOW_COPY_AND_ASSIGN(FolderNameView);
};
folder_name_view_->SetFontList(
rb.GetFontList(ui::ResourceBundle::MediumFont));
- folder_name_view_->set_placeholder_text_color(kHintTextColor);
+ folder_name_view_->set_placeholder_text_color(kFolderTitleHintTextColor);
folder_name_view_->set_placeholder_text(folder_name_placeholder_text_);
folder_name_view_->SetBorder(views::Border::NullBorder());
folder_name_view_->SetBackgroundColor(kContentsBackgroundColor);