[Extensions UI] Have the ExtensionMessageBubble linked to a browser
commit0ba2a4cb378121906b5f3aad3ed25ff645b9e360
authorrdevlin.cronin <rdevlin.cronin@chromium.org>
Thu, 6 Aug 2015 18:40:19 +0000 (6 11:40 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 6 Aug 2015 18:41:03 +0000 (6 18:41 +0000)
tree4f73f12ea247e612046d1c5d9da3655eec6b185e
parent43727507fc0d6c16ccefc91ea275ccee08389983
[Extensions UI] Have the ExtensionMessageBubble linked to a browser

Right now, the ExtensionMessageBubbleController will try and
find the most recently used browser if it needs to open a link.
Instead, it should be linked to a particular browser, since it is
shown in a single browser. This also fixes a crash where it
was improperly using a developer tools window browser and
trying to navigate it.

BUG=515853

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

Cr-Commit-Position: refs/heads/master@{#342156}
17 files changed:
chrome/browser/extensions/dev_mode_bubble_controller.cc
chrome/browser/extensions/dev_mode_bubble_controller.h
chrome/browser/extensions/extension_message_bubble_controller.cc
chrome/browser/extensions/extension_message_bubble_controller.h
chrome/browser/extensions/extension_message_bubble_controller_unittest.cc
chrome/browser/extensions/ntp_overridden_bubble_controller.cc
chrome/browser/extensions/ntp_overridden_bubble_controller.h
chrome/browser/extensions/proxy_overridden_bubble_controller.cc
chrome/browser/extensions/proxy_overridden_bubble_controller.h
chrome/browser/extensions/settings_api_bubble_controller.cc
chrome/browser/extensions/settings_api_bubble_controller.h
chrome/browser/extensions/suspicious_extension_bubble_controller.cc
chrome/browser/extensions/suspicious_extension_bubble_controller.h
chrome/browser/ui/extensions/extension_message_bubble_factory.cc
chrome/browser/ui/extensions/extension_message_bubble_factory.h
chrome/browser/ui/toolbar/toolbar_actions_bar.cc
chrome/browser/ui/views/settings_api_bubble_helper_views.cc