| Index: chrome/browser/ui/views/location_bar/ev_bubble_view.cc
|
| diff --git a/chrome/browser/ui/views/location_bar/ev_bubble_view.cc b/chrome/browser/ui/views/location_bar/ev_bubble_view.cc
|
| index 5d651be560790a3debea00dd766281148e312982..a8b69ee34400efc3665a09dbb7df66748b4452a9 100644
|
| --- a/chrome/browser/ui/views/location_bar/ev_bubble_view.cc
|
| +++ b/chrome/browser/ui/views/location_bar/ev_bubble_view.cc
|
| @@ -16,6 +16,16 @@ EVBubbleView::EVBubbleView(const int background_images[],
|
| EVBubbleView::~EVBubbleView() {
|
| }
|
|
|
| +gfx::Size EVBubbleView::GetMinimumSize() {
|
| +
|
| + // Set the minimum size for elided EV bubbles to 150 px.
|
| + static const int kMinBubbleWidth = 150;
|
| +
|
| + gfx::Size minimum(GetPreferredSize());
|
| + minimum.set_width(std::min(kMinBubbleWidth, minimum.width()));
|
| + return minimum;
|
| +}
|
| +
|
| bool EVBubbleView::OnMousePressed(const ui::MouseEvent& event) {
|
| // We want to show the dialog on mouse release; that is the standard behavior
|
| // for buttons.
|
|
|