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

Unified Diff: ash/system/tray/tray_bubble_view.cc

Issue 10830078: Uber tray UI Polish: Adjust uber tray bubble and arrow to align it with the app list bubble. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « no previous file | ash/system/tray/tray_constants.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/tray_bubble_view.cc
diff --git a/ash/system/tray/tray_bubble_view.cc b/ash/system/tray/tray_bubble_view.cc
index 1b934d4c399a20b36015d78173dd7c1a4e0bf1f4..1ac2d5046142a8e98f018d92ddd8e9941f7b8779 100644
--- a/ash/system/tray/tray_bubble_view.cc
+++ b/ash/system/tray/tray_bubble_view.cc
@@ -33,8 +33,8 @@ const int kBottomLineHeight = 1;
const int kSystemTrayBubbleHorizontalInset = 1;
const int kSystemTrayBubbleVerticalInset = 1;
-const int kArrowHeight = 10;
-const int kArrowWidth = 20;
+const int kArrowHeight = 9;
+const int kArrowWidth = 19;
// Inset the arrow a bit from the edge.
const int kArrowMinOffset = kArrowWidth / 2 + 4;
@@ -188,6 +188,7 @@ class TrayBubbleBorder : public views::BubbleBorder {
arrow_reference);
SkPaint paint;
+ paint.setAntiAlias(true);
paint.setStyle(SkPaint::kFill_Style);
paint.setColor(background ? background->get_color() : kBackgroundColor);
canvas->DrawPath(path, paint);
« no previous file with comments | « no previous file | ash/system/tray/tray_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698