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

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

Issue 2511043002: [Mac] Omnibox icons active states (Closed)
Patch Set: Cleaned up 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
Index: chrome/browser/ui/cocoa/location_bar/security_state_bubble_decoration.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/security_state_bubble_decoration.mm b/chrome/browser/ui/cocoa/location_bar/security_state_bubble_decoration.mm
index 6ec3fd959f57e9a5ceccfd1d3fc96f7f57effea0..2f3c9c97c131a94dcd0d886978600bd9c6360a53 100644
--- a/chrome/browser/ui/cocoa/location_bar/security_state_bubble_decoration.mm
+++ b/chrome/browser/ui/cocoa/location_bar/security_state_bubble_decoration.mm
@@ -227,7 +227,7 @@ void SecurityStateBubbleDecoration::DrawInFrame(NSRect frame,
[text drawInRect:text_rect];
// Draw the divider.
- if (state() == LocationBarDecorationState::NORMAL) {
+ if (state() == DecorationMouseState::NONE && !active()) {
NSBezierPath* line = [NSBezierPath bezierPath];
[line setLineWidth:line_width];
[line moveToPoint:NSMakePoint(NSMaxX(decoration_frame) - DividerPadding(),

Powered by Google App Engine
This is Rietveld 408576698