Cancel MIDI permission request infobar on MIDIAccess stop.
commit00880a0c5a9b4add3539e63c509e5117f1074b0a
authorkkimlabs@chromium.org <kkimlabs@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 30 Oct 2013 03:18:30 +0000 (30 03:18 +0000)
committerkkimlabs@chromium.org <kkimlabs@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 30 Oct 2013 03:18:30 +0000 (30 03:18 +0000)
treeeffed07b08782e2888cf88ce684778e6b4d8be86
parent8ea113d23be6646aa06058ec94bdc0cf881d62ba
Cancel MIDI permission request infobar on MIDIAccess stop.

On WebCore::MIDIAccess::stop(), renderer didn't cancel the MIDI
permission request infobar. As a result, when an iframe webpage that
requested MIDI permission is navigated away, the MIDI infobar is not
dismissed, unlike the geolocation infobar. This CL makes the MIDI infobar
be dismissed on WebCore::MIDIAccess::stop().

BUG=309893

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231719 0039d316-1c4b-4281-b951-d872f2087c98
22 files changed:
android_webview/browser/aw_browser_context.cc
android_webview/browser/aw_browser_context.h
chrome/browser/media/chrome_midi_permission_context.cc
chrome/browser/media/chrome_midi_permission_context.h
chrome/browser/profiles/off_the_record_profile_impl.cc
chrome/browser/profiles/off_the_record_profile_impl.h
chrome/browser/profiles/profile_impl.cc
chrome/browser/profiles/profile_impl.h
chrome/browser/ui/app_list/test/fake_profile.cc
chrome/browser/ui/app_list/test/fake_profile.h
chrome/test/base/testing_profile.cc
chrome/test/base/testing_profile.h
content/browser/download/download_manager_impl_unittest.cc
content/browser/renderer_host/media/midi_dispatcher_host.cc
content/browser/renderer_host/media/midi_dispatcher_host.h
content/common/media/midi_messages.h
content/public/browser/browser_context.h
content/public/test/test_browser_context.cc
content/public/test/test_browser_context.h
content/renderer/media/midi_dispatcher.cc
content/shell/browser/shell_browser_context.cc
content/shell/browser/shell_browser_context.h