Ensure that the main window does not render as deactivated when the link disambiguati...
commit5d4c9226a159f421c17ca3c9b33c5ee692081172
authorananta <ananta@chromium.org>
Mon, 27 Oct 2014 20:55:46 +0000 (27 13:55 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 27 Oct 2014 20:56:13 +0000 (27 20:56 +0000)
treeb135274a09b1f35295dd25c5d30b5dd2a106c949
parent63a5975ca272b44c8209055f38605e6598b6142d
Ensure that the main window does not render as deactivated when the link disambiguation bubble is displayed.

This uses the existing framework in the BubbleDelegate to disable inactive rendering in the active
widget when the bubble is displayed, etc. Inactive rendering is enabled when the bubble is dismissed.

Changes in this patch are to pass the active widget to the LinkDisambiguationPopup class when it is
created to display the bubble. This class then passes the contents view to the actual bubble.

BUG=421020

Review URL: https://codereview.chromium.org/680643002

Cr-Commit-Position: refs/heads/master@{#301439}
chrome/browser/ui/views/link_disambiguation/link_disambiguation_popup.cc
chrome/browser/ui/views/link_disambiguation/link_disambiguation_popup.h
chrome/browser/ui/views/tab_contents/chrome_web_contents_view_delegate_views.cc