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

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

Issue 2542173002: [Mac] Omnibox icons active states (Closed)
Patch Set: Created 4 years 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 f092a09b85d4cd01b2cadc459d961dbdfc7e60bf..23824147629976fddb5a0816a2b0d5b6d6e242db 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
@@ -228,7 +228,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