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

Unified Diff: ash/wm/overview/window_selector_item.cc

Issue 23228004: Prepare to use gfx::RenderText in views::Label. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revert Label implementation changes. Created 6 years, 5 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 | « ash/touch/touch_hud_debug.cc ('k') | chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/overview/window_selector_item.cc
diff --git a/ash/wm/overview/window_selector_item.cc b/ash/wm/overview/window_selector_item.cc
index af5cf18d59c104dbc89f7e4a1835df5c6b26b8a9..b06eb86a296a22b644f280a0a343f5bb0a040224 100644
--- a/ash/wm/overview/window_selector_item.cc
+++ b/ash/wm/overview/window_selector_item.cc
@@ -296,8 +296,10 @@ void WindowSelectorItem::CreateWindowLabel(const base::string16& title) {
window_label_view_ = new views::Label;
window_label_view_->SetEnabledColor(kLabelColor);
window_label_view_->SetBackgroundColor(kLabelBackground);
- window_label_view_->set_shadows(gfx::ShadowValues(1, gfx::ShadowValue(
- gfx::Point(0, kVerticalShadowOffset), kShadowBlur, kLabelShadow)));
+ window_label_view_->SetShadows(gfx::ShadowValues(
+ 1,
+ gfx::ShadowValue(
+ gfx::Point(0, kVerticalShadowOffset), kShadowBlur, kLabelShadow)));
ui::ResourceBundle& bundle = ui::ResourceBundle::GetSharedInstance();
window_label_view_->SetFontList(
bundle.GetFontList(ui::ResourceBundle::BoldFont));
« no previous file with comments | « ash/touch/touch_hud_debug.cc ('k') | chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698