Centralize deferred commit conditions.

Instead of having many callbacks that implicitly have conditions for when the
blink frame pipeline should run, have a function on Document that checks them
explicitly and make WebViewImpl call it.

This will allow checking if iframes are ready to begin running their lifecycle
phases when iterating the frame tree in ::beginFrame and ::layout().

BUG=521692

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

git-svn-id: svn://svn.chromium.org/blink/trunk@200783 bbb929c8-8fbe-4397-9dbb-9b2b20218538
4 files changed
tree: bd2078b6abf1947ac171f50139a0e34cc18d590c
  1. third_party/