| Index: chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.cc
|
| diff --git a/chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.cc b/chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.cc
|
| index 18f29536f52c92f1a060e380aaad152bf16ffe04..2fa92b58fd8bf1357a0a456448cbe0bad3763593 100644
|
| --- a/chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.cc
|
| +++ b/chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.cc
|
| @@ -29,6 +29,15 @@ LocationBarBubbleDelegateView::LocationBarBubbleDelegateView(
|
|
|
| LocationBarBubbleDelegateView::~LocationBarBubbleDelegateView() {}
|
|
|
| +void LocationBarBubbleDelegateView::ShowForReason(DisplayReason reason) {
|
| + if (reason == USER_GESTURE) {
|
| + SetArrowPaintType(views::BubbleBorder::PAINT_TRANSPARENT);
|
| + GetWidget()->Show();
|
| + } else {
|
| + GetWidget()->ShowInactive();
|
| + }
|
| +}
|
| +
|
| void LocationBarBubbleDelegateView::Observe(
|
| int type,
|
| const content::NotificationSource& source,
|
|
|