| Index: chrome/browser/ui/views/location_bar/location_bar_layout.h
|
| diff --git a/chrome/browser/ui/views/location_bar/location_bar_layout.h b/chrome/browser/ui/views/location_bar/location_bar_layout.h
|
| index c26a7ef8d5c7562f680206052575afea0550cd1b..3e94e30775c366393308e0047688a62d7347297f 100644
|
| --- a/chrome/browser/ui/views/location_bar/location_bar_layout.h
|
| +++ b/chrome/browser/ui/views/location_bar/location_bar_layout.h
|
| @@ -68,9 +68,13 @@ class LocationBarLayout {
|
| // corresponding to the entire space available in the location bar. This pass
|
| // will update it as decorations are laid out. |available_width| measures the
|
| // empty space within the location bar, taking the decorations and text into
|
| - // account. |decorations| must always be ordered from the edge of the location
|
| - // bar towards the middle.
|
| - void LayoutPass3(gfx::Rect* bounds, int* available_width);
|
| + // account. When |allow_collapse| is true, decorations may be completely
|
| + // collapsed (invisible) when there's not enough available width. When
|
| + // |allow_collapse| is false, decorations won't be smaller than their minimum
|
| + // width, even if there's not enough room in |available_width|.
|
| + void LayoutPass3(gfx::Rect* bounds,
|
| + int* available_width,
|
| + bool allow_collapse);
|
|
|
| private:
|
| // LEFT_EDGE means decorations are added from left to right and stacked on
|
|
|