8c98b3e...
by
Michael Catanzaro <email address hidden>
window: remove view from popovers table when destroyed
Currently, when a web view is destroyed, a dangling pointer to it
remains in the popovers table until its window is closed, and its
permission requests stay open. Let's fix that.
c05cbb7...
by
Michael Catanzaro <email address hidden>
window: deny permission requests when new load starts
Since converting from info bars to popovers, we stopped dismissing
permission requests when a new page load begins. Bring this back:
* Destroy all popovers associated with the web view each time a new
load begins
* Recompute which popovers to display if the web view is active
Fixes #2088
bb62627...
by
Michael Catanzaro <email address hidden>
window: rename active_permission_requests to _popovers
This hash table stores popovers that themselves store the actual
permission requests. It does not directly store permission requests.