Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(998)

Unified Diff: chrome/browser/ui/views/location_bar/location_icon_view.cc

Issue 2397273002: Show a custom page info bubble for chrome-devtools:// URLs (Closed)
Patch Set: Rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/location_bar/location_icon_view.cc
diff --git a/chrome/browser/ui/views/location_bar/location_icon_view.cc b/chrome/browser/ui/views/location_bar/location_icon_view.cc
index 00ce7a86c0de4b30d594da8eb15d59e3fec457b2..9d011dcd7e793d312cf5a181269836e56bf38357 100644
--- a/chrome/browser/ui/views/location_bar/location_icon_view.cc
+++ b/chrome/browser/ui/views/location_bar/location_icon_view.cc
@@ -57,7 +57,9 @@ bool LocationIconView::OnMousePressed(const ui::MouseEvent& event) {
model->PasteAndGo(text);
}
- suppress_mouse_released_action_ = WebsiteSettingsPopupView::IsPopupShowing();
+ suppress_mouse_released_action_ =
+ WebsiteSettingsPopupView::GetShownPopupType() !=
+ WebsiteSettingsPopupView::POPUP_NONE;
return true;
}

Powered by Google App Engine
This is Rietveld 408576698