Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(350)

Unified Diff: ui/app_list/views/folder_header_view.cc

Issue 135863002: Reland Merge NativeTextfieldViews into views::Textfield. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Handle Ctrl-Shift-Delete and Backspace on Linux, like on ChromeOS. Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/web_contents/touch_editable_impl_aura.cc ('k') | ui/app_list/views/search_box_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/folder_header_view.cc
diff --git a/ui/app_list/views/folder_header_view.cc b/ui/app_list/views/folder_header_view.cc
index 302514d76d1becadd277a6809b3b7ba24c6d7cfd..bbdd17f1d66eb68959b0ea097da3beb9549e8eaf 100644
--- a/ui/app_list/views/folder_header_view.cc
+++ b/ui/app_list/views/folder_header_view.cc
@@ -68,11 +68,12 @@ FolderHeaderView::FolderHeaderView(FolderHeaderViewDelegate* delegate)
views::ImageButton::ALIGN_MIDDLE);
AddChildView(back_button_);
- folder_name_view_->SetFont(rb.GetFont(ui::ResourceBundle::MediumFont));
+ folder_name_view_->SetFontList(
+ rb.GetFontList(ui::ResourceBundle::MediumFont));
folder_name_view_->set_placeholder_text_color(kHintTextColor);
folder_name_view_->set_placeholder_text(
rb.GetLocalizedString(IDS_APP_LIST_FOLDER_NAME_PLACEHOLDER));
- folder_name_view_->RemoveBorder();
+ folder_name_view_->set_border(NULL);
folder_name_view_->SetBackgroundColor(kContentsBackgroundColor);
folder_name_view_->SetController(this);
AddChildView(folder_name_view_);
« no previous file with comments | « content/browser/web_contents/touch_editable_impl_aura.cc ('k') | ui/app_list/views/search_box_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698