Index: chrome/browser/ui/views/bookmarks/bookmark_bar_view.h |
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.h b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.h |
index a48121452027e998f259762e2c1fa6af67f41cb4..36cff69de55dcc3597355fe040055ca729bcc9a2 100644 |
--- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.h |
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.h |
@@ -385,6 +385,10 @@ class BookmarkBarView : public views::AccessiblePaneView, |
SchedulePaint(); |
} |
+ // Calculate and return the height of the bookmark bar with added padding to |
+ // the preferred height if the font is taller than normal. (eg. Hindi text). |
Evan Stade
2016/08/08 16:10:57
I can't parse this sentence, and I'm not sure it's
kylix_rd
2016/08/08 17:05:23
Should there be no comment? I suppose the name is
|
+ int GetPreferredHeight() const; |
+ |
// Needed to react to kShowAppsShortcutInBookmarkBar changes. |
PrefChangeRegistrar profile_pref_registrar_; |