Added |-cancelJavaScriptDialogsForWebController:| to UI delegate.

This is necessary to cancel enqueued JavaScript dialogs before their
associated web view is deallocated.

BUG=564916

Review URL: https://codereview.chromium.org/1504493002

Cr-Commit-Position: refs/heads/master@{#364268}
3 files changed