The code came from chrome/browser/media, but was simplified to remove dependencies on other parts of chrome/ and to always allow the media stream request.
When the renderer doesn't handle a key event, we pass it off to the main menu to see if it can handle it. Part of #2.