| Index: chrome/browser/views/location_bar_view.h
|
| ===================================================================
|
| --- chrome/browser/views/location_bar_view.h (revision 9107)
|
| +++ chrome/browser/views/location_bar_view.h (working copy)
|
| @@ -121,7 +121,7 @@
|
| virtual void FocusSearch();
|
| virtual void SaveStateToContents(TabContents* contents);
|
|
|
| - static const int kTextVertMargin;
|
| + static const int kVertMargin;
|
| static const COLORREF kBackgroundColorByLevel[];
|
|
|
| protected:
|
| @@ -283,6 +283,16 @@
|
| // to necessitate a layout, layout occurs as well.
|
| void DoLayout(bool force_layout);
|
|
|
| + // Returns the number of pixels to clip off the top edge of the background
|
| + // graphics. With the Vista frame, the DWM draws a dark border around the
|
| + // content, so we clip the single dark pixel on the popup background image,
|
| + // which otherwise looks redundant.
|
| + int TopOffset() const;
|
| +
|
| + // Returns the height in pixels of the margin at the top of the bar, after
|
| + // TopOffset() pixels have been clipped off.
|
| + int TopMargin() const;
|
| +
|
| // Returns the width in pixels of the contents of the edit.
|
| int TextDisplayWidth();
|
|
|
|
|