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

Unified Diff: chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm

Issue 2515193003: [Mac] Fixed the incognito omnibox icon background color (Closed)
Patch Set: Created 4 years, 1 month 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm b/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm
index d8556da01e7abdf7f0183780c742dd5d30037f6b..829c097dbfb91a405c78300c1828292d21d952f3 100644
--- a/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm
+++ b/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm
@@ -23,9 +23,9 @@ const CGFloat kDividerIncognitoGrayScale = 1.0;
// Color values for the hover and pressed background.
const SkColor kHoverBackgroundColor = 0x14000000;
-const SkColor kHoverDarkBackgroundColor = 0x1E000000;
+const SkColor kHoverDarkBackgroundColor = 0x1EFFFFFF;
const SkColor kPressedBackgroundColor = 0x1E000000;
-const SkColor kPressedDarkBackgroundColor = 0x3D000000;
+const SkColor kPressedDarkBackgroundColor = 0x3DFFFFFF;
// Amount of inset for the background frame.
const CGFloat kBackgroundFrameYInset = 2.0;
@@ -180,7 +180,7 @@ void LocationBarDecoration::DrawWithBackgroundInFrame(NSRect frame,
in_dark_mode ? kHoverDarkBackgroundColor : kHoverBackgroundColor;
} else {
background_color =
- in_dark_mode ? kPressedBackgroundColor : kPressedDarkBackgroundColor;
+ in_dark_mode ? kPressedDarkBackgroundColor : kPressedBackgroundColor;
}
[skia::SkColorToSRGBNSColor(background_color) setFill];
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698