commit | eaace7813ae608e491f7aa502b08da57b32ce0bc | [log] [tgz] |
---|---|---|
author | Francois Doray <[email protected]> | Wed Jun 21 16:37:24 2017 |
committer | Commit Bot <[email protected]> | Fri Jun 23 01:59:09 2017 |
tree | 1c477d3bca3c96c9b5f7175f485642b1eb247977 | |
parent | a5015e84b97fe94e43c3d46f26c2b0480345bb80 [diff] |
Add |needs_reload| argument to NavigationController::CopyStateFrom(). This argument controls whether the WebContents needs to be reloaded when activated. Not reloading the WebContents as soon as it is activated will allow TabManager to implement more advanced reload rules (e.g. browser window is active, tab has been active for x ms). Note: Today, a WebContents is considered "active" if it is in a selected tab, even if the browser window is not visible. [email protected],[email protected],[email protected] Bug: 731145 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_site_isolation Change-Id: I87a16df112752b97bcc369e34a1e1f86d18d9b99 Reviewed-on: https://chromium-review.googlesource.com/531065 Commit-Queue: Francois Doray <[email protected]> Reviewed-by: Charlie Reis <[email protected]> Cr-Commit-Position: refs/heads/master@{#481778}