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

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

Issue 1909453004: [Mac][Material Design] Adjust EV chip to match Material Design spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 a69c72fdcf0103b1e1cf403d02a37c715bb59dad..f8494e5c9adf3e2d021ad901bb8b8ef36a9d52d4 100644
--- a/chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.h
+++ b/chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.h
@@ -33,6 +33,10 @@ class EVBubbleDecoration : public BubbleDecoration {
// fits, else it will set an elided version.
void SetFullLabel(NSString* full_label);
+ // Perform custom drawing for Material Design.
+ void DrawWithBackgroundInFrame(NSRect background_frame,
tapted 2016/04/22 00:41:52 nit: move dec into the other LocationBarDecoration
shrike 2016/04/22 05:46:30 Unfortunately I'm not following what you mean - ca
tapted 2016/04/22 06:09:48 yup dec is declaration. Since this method is an ov
shrike 2016/04/22 06:24:15 Got it.
+ NSRect frame,
+ NSView* control_view) override;
// Implement |LocationBarDecoration|.
CGFloat GetWidthForSpace(CGFloat width) override;

Powered by Google App Engine
This is Rietveld 408576698