| Index: chrome/browser/ui/views/location_bar/zoom_bubble_view.cc
|
| diff --git a/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc b/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc
|
| index 3ab1d2f773bc0faf95a00ffe0d1dd5f24b472a52..9b6353141e8ed5a777eadbc2e3ded395b32d9a4a 100644
|
| --- a/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc
|
| +++ b/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc
|
| @@ -101,7 +101,7 @@ void ZoomBubbleView::ShowBubble(content::WebContents* web_contents,
|
| if (is_fullscreen)
|
| zoom_bubble_->AdjustForFullscreen(browser_view->GetBoundsInScreen());
|
|
|
| - if (zoom_bubble_->use_focusless())
|
| + if (auto_close)
|
| zoom_bubble_->GetWidget()->ShowInactive();
|
| else
|
| zoom_bubble_->GetWidget()->Show();
|
| @@ -139,7 +139,6 @@ ZoomBubbleView::ZoomBubbleView(
|
| immersive_mode_controller_(immersive_mode_controller) {
|
| // Compensate for built-in vertical padding in the anchor view's image.
|
| set_anchor_view_insets(gfx::Insets(5, 0, 5, 0));
|
| - set_use_focusless(auto_close);
|
| set_notify_enter_exit_on_child(true);
|
|
|
| // Add observers to close the bubble if the fullscreen state or immersive
|
| @@ -250,12 +249,10 @@ void ZoomBubbleView::OnExtensionIconImageChanged(
|
| }
|
|
|
| void ZoomBubbleView::OnMouseEntered(const ui::MouseEvent& event) {
|
| - set_use_focusless(false);
|
| StopTimer();
|
| }
|
|
|
| void ZoomBubbleView::OnMouseExited(const ui::MouseEvent& event) {
|
| - set_use_focusless(auto_close_);
|
| StartTimerIfNecessary();
|
| }
|
|
|
|
|