[content-service] Allow custom navigation handling
Adds a |suppress_navigations| option to NavigableContentsParams, allowing clients to block navigations from occurring as a result of e.g. user gesture or scripting behavior. When enabled, suppressed navigations instead trigger a message on the NavigableContentsClient interface and a corresponding event on any attached NavigableContentsObservers. Bug: 854367 Change-Id: I85b4a0ca970f83a4d0b27e56843f99841434c483 Reviewed-on: https://chromium-review.googlesource.com/c/1269444 Commit-Queue: Ken Rockot <rockot@chromium.org> Reviewed-by:Camille Lamy <clamy@chromium.org> Reviewed-by:
Tom Sepez <tsepez@chromium.org> Cr-Commit-Position: refs/heads/master@{#599748}
Showing
Please register or sign in to comment