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

Unified Diff: chrome/browser/ui/cocoa/location_bar/content_setting_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/content_setting_decoration.h
diff --git a/chrome/browser/ui/cocoa/location_bar/content_setting_decoration.h b/chrome/browser/ui/cocoa/location_bar/content_setting_decoration.h
index fe1c52ba499550c515f32df493453d750faea852..3fe13fdd7ae421b6273eae9a683db397a32cf9e5 100644
--- a/chrome/browser/ui/cocoa/location_bar/content_setting_decoration.h
+++ b/chrome/browser/ui/cocoa/location_bar/content_setting_decoration.h
@@ -49,6 +49,9 @@ class ContentSettingDecoration : public ImageDecoration {
// be friends.
virtual void AnimationTimerFired();
+ protected:
+ CGFloat DividerPadding() const override;
+
private:
friend class ContentSettingDecorationTest;

Powered by Google App Engine
This is Rietveld 408576698