Index: chrome/browser/ui/views/location_bar/location_bar_view.h |
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.h b/chrome/browser/ui/views/location_bar/location_bar_view.h |
index fd0b62a014901d386edd78fa37770ae18255f331..34e4464ecd5cb73dd156e2d0a970fdd2757f10ba 100644 |
--- a/chrome/browser/ui/views/location_bar/location_bar_view.h |
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.h |
@@ -312,8 +312,11 @@ class LocationBarView : public LocationBar, |
const content::NotificationSource& source, |
const content::NotificationDetails& details) OVERRIDE; |
- // Calculates the height of the view. |
- int GetHeight(); |
+ // Returns the height of the control without the top and bottom |
+ // edges(i.e. the height of the edit control inside). If |
+ // |use_preferred_size| is true this will be the preferred height, |
+ // otherwise it will be the current height. |
+ int GetInternalHeight(bool use_preferred_size); |
// Space between items in the location bar. |
static int GetItemPadding(); |