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

Unified Diff: chrome/browser/ui/views/tab_contents/chrome_web_contents_view_delegate_views.cc

Issue 680643002: Ensure that the main window does not render as deactivated when the link disambiguation bubble is d… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review comments Created 6 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
« no previous file with comments | « chrome/browser/ui/views/link_disambiguation/link_disambiguation_popup.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/tab_contents/chrome_web_contents_view_delegate_views.cc
diff --git a/chrome/browser/ui/views/tab_contents/chrome_web_contents_view_delegate_views.cc b/chrome/browser/ui/views/tab_contents/chrome_web_contents_view_delegate_views.cc
index 55176d26af03b7028f217e46ffbe71a3c6690eab..8fae03b983e8cde0588474afabbd76ea31543b06 100644
--- a/chrome/browser/ui/views/tab_contents/chrome_web_contents_view_delegate_views.cc
+++ b/chrome/browser/ui/views/tab_contents/chrome_web_contents_view_delegate_views.cc
@@ -183,7 +183,12 @@ void ChromeWebContentsViewDelegateViews::ShowDisambiguationPopup(
link_disambiguation_popup_.reset(new LinkDisambiguationPopup);
link_disambiguation_popup_->Show(
- zoomed_bitmap, target_rect, content, gesture_cb, mouse_cb);
+ views::Widget::GetTopLevelWidgetForNativeView(GetActiveNativeView()),
+ zoomed_bitmap,
+ target_rect,
+ content,
+ gesture_cb,
+ mouse_cb);
#endif
}
« no previous file with comments | « chrome/browser/ui/views/link_disambiguation/link_disambiguation_popup.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698