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

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

Issue 2861283002: [Mac] Refactor decoration divider code. (Closed)
Patch Set: Created 3 years, 7 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/bubble_decoration.h
diff --git a/chrome/browser/ui/cocoa/location_bar/bubble_decoration.h b/chrome/browser/ui/cocoa/location_bar/bubble_decoration.h
index 092fd12b46f90f042328a892fe558b3a3e58ff08..d41c19f8ba68c2ffacb45b8cabf57fe4106df4ce 100644
--- a/chrome/browser/ui/cocoa/location_bar/bubble_decoration.h
+++ b/chrome/browser/ui/cocoa/location_bar/bubble_decoration.h
@@ -36,10 +36,6 @@ class BubbleDecoration : public LocationBarDecoration {
NSFont* GetFont() const override;
protected:
- // Returns the amount of padding between the divider and the omnibox text.
- // Returns 0 in non-MD since there's no divider.
- CGFloat DividerPadding() const;
-
// Helper returning bubble width for the given |image| and |label|
// assuming |font_| (for sizing text). Arguments can be nil.
CGFloat GetWidthForImageAndLabel(NSImage* image, NSString* label);

Powered by Google App Engine
This is Rietveld 408576698