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

Unified Diff: chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.h

Issue 1718563002: Convert location bar decorations to Material Design (Mac). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@md_toolbar
Patch Set: Fix issue from browser test. Created 4 years, 9 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
Index: chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.h
diff --git a/chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.h b/chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.h
index ce43dbe25e0791dfdb49f896918a7ad08d3d0ac1..a69c72fdcf0103b1e1cf403d02a37c715bb59dad 100644
--- a/chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.h
+++ b/chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.h
@@ -26,6 +26,9 @@ class EVBubbleDecoration : public BubbleDecoration {
explicit EVBubbleDecoration(LocationIconDecoration* location_icon);
~EVBubbleDecoration() override;
+ // Return the color used to draw the EvBubbleDecoration background in MD.
+ NSColor* GetBackgroundBorderColor() override;
+
// |GetWidthForSpace()| will set |full_label| as the label, if it
// fits, else it will set an elided version.
void SetFullLabel(NSString* full_label);

Powered by Google App Engine
This is Rietveld 408576698