Index: ash/launcher/launcher_tooltip_manager.cc |
diff --git a/ash/launcher/launcher_tooltip_manager.cc b/ash/launcher/launcher_tooltip_manager.cc |
index 2065d3a93ee6de8dd84982a785b9b52becc84a34..890a45b925640422d604a1f7b011caa92116db4d 100644 |
--- a/ash/launcher/launcher_tooltip_manager.cc |
+++ b/ash/launcher/launcher_tooltip_manager.cc |
@@ -31,7 +31,7 @@ const int kTooltipTopBottomMargin = 3; |
const int kTooltipLeftRightMargin = 10; |
const int kTooltipAppearanceDelay = 200; // msec |
const int kTooltipMinHeight = 29 - 2 * kTooltipTopBottomMargin; |
-const SkColor kTooltipTextColor = SkColorSetRGB(22, 22, 22); |
+const SkColor kTooltipTextColor = SkColorSetRGB(0x22, 0x22, 0x22); |
// The maximum width of the tooltip bubble. Borrowed the value from |
// ash/tooltip/tooltip_controller.cc |
@@ -109,6 +109,7 @@ LauncherTooltipManager::LauncherTooltipBubble::LauncherTooltipBubble( |
label_ = new views::Label; |
label_->SetHorizontalAlignment(views::Label::ALIGN_LEFT); |
label_->SetEnabledColor(kTooltipTextColor); |
+ label_->set_elide_at_end(true); |
AddChildView(label_); |
views::BubbleDelegateView::CreateBubble(this); |
bubble_border_ = new views::BubbleBorder2(views::BubbleBorder::BOTTOM_RIGHT); |