Simplify the JavaScriptDialogManager.
- This collapses two closely-related calls into just one.
- This allows the WebContents to specify no callbacks, which avoids calling back to it while it's being destructed. (This is a state that is not possible now, but will be possible soon.)
BUG=
629964
TEST=existing tests
Committed:
https://crrev.com/5d3b869bc09c586f076e3d78d8b8966b75dcf6c9
Cr-Commit-Position: refs/heads/master@{#424875}