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). |
+ int GetPreferredHeight() const; |
+ |
// Needed to react to kShowAppsShortcutInBookmarkBar changes. |
PrefChangeRegistrar profile_pref_registrar_; |