commit | 5d3b869bc09c586f076e3d78d8b8966b75dcf6c9 | [log] [tgz] |
---|---|---|
author | avi <avi@chromium.org> | Wed Oct 12 22:00:46 2016 |
committer | Commit bot <commit-bot@chromium.org> | Wed Oct 12 22:03:17 2016 |
tree | b7f160a43f6b686a71e2c2952b752879b10f5661 | |
parent | 158941f08d24fb3cbaa9466486e1bb0a994668b4 [diff] |
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 Review-Url: https://codereview.chromium.org/2412843002 Cr-Commit-Position: refs/heads/master@{#424875}