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

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

Issue 2471583002: [Mac] Change the omnibox decoration padding (Closed)
Patch Set: Fixed tests 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/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 0c010f056896273eb9daaff64c76eaf34fe05859..17863697e9cf5873466309c2a12deb15c125d1ec 100644
--- a/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm
+++ b/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm
@@ -121,10 +121,10 @@ void LocationBarDecoration::DrawInFrame(NSRect frame, NSView* control_view) {
NOTREACHED();
}
-void LocationBarDecoration::DrawWithBackgroundInFrame(NSRect background_frame,
- NSRect frame,
+void LocationBarDecoration::DrawWithBackgroundInFrame(NSRect frame,
NSView* control_view) {
- // Default to no background.
+ // TODO(spqchan): Draw the hovered/pressed background.
+ // See crbug.com/588377.
DrawInFrame(frame, control_view);
}

Powered by Google App Engine
This is Rietveld 408576698