DescriptionPut the RenderFrame's ID into a per-frame WebBluetooth, and plumb that back to the browser.
This lets us look up the right RenderFrameHost, so we can find the site's origin
and attach the requestDevice dialog to the right tab.
This is the third of a 3-patch sequence:
1. Attach a frame-specific WebBluetooth in Blink. (https://codereview.chromium.org/1228283003)
2. Move Web Bluetooth from content/child/ to content/renderer/ (https://codereview.chromium.org/1234413006/)
3. Put the RenderFrame's ID in that WebBluetooth and plumb it back to the browser. (This patch)
BUG=500989
Committed: https://crrev.com/7aa22257bc748edd0dfab2e04df87fa251492f6e
Cr-Commit-Position: refs/heads/master@{#339600}
Patch Set 1 : Initial #
Total comments: 2
Patch Set 2 : Remove mention of frames from content/child. #
Total comments: 9
Patch Set 3 : Rebase onto the move to renderer/, and undo the frame_routing_id name change. #Patch Set 4 : Rebase off of the requestDevice session change too #Patch Set 5 : Rebase #Depends on Patchset: Messages
Total messages: 25 (5 generated)
|