Fix crash when user closes window prior to the "Confirm Install" prompt showing.
This CL moves ExtensionInstallPrompt::ShowParams to its own class. The new class
observes the content::WebContents and gfx::NativeWindow for their destruction.
If the window is closed prior to the "Confirm Install" prompt showing, the
prompt is shown as a non-modal free-standing dialog.
BUG=422814
TEST=ExtensionInstallPromptBrowserTest.*
Review URL: https://codereview.chromium.org/670453003
Cr-Commit-Position: refs/heads/master@{#301866}
30 files changed