commit | 7b355c64e66c1799c83e40a85571856193a442db | [log] [tgz] |
---|---|---|
author | lshang <[email protected]> | Thu Dec 01 21:42:21 2016 |
committer | Commit bot <[email protected]> | Thu Dec 01 21:46:01 2016 |
tree | 92e9e9d1f0b0e5e8d517db6993ee7501815de0f1 | |
parent | fc09797d2841a0da450266e2fd004d9e12c7b020 [diff] |
Create/Destroy PermissionPromptAndroid when switching tabs on Android This is a follow-up CL of https://codereview.chromium.org/2315563002/. On desktop, when switching tabs, BrowserView::OnActiveTabChanged() gets called so that PermissionRequestManager will hide bubbles for the old tab, create PermissionPrompt for the new tab, and displays any pending requests in the new tab. This CL does the same thing for Android. The final goal of this project is to reuse PermissionRequestManager to manage permission request queue on Android, and get rid of PermissionQueueController. BUG=606138 Review-Url: https://codereview.chromium.org/2522373002 Cr-Commit-Position: refs/heads/master@{#435725}