commit | 180a581c3ad6e4da6cb494b34d858721fd5e1a84 | [log] [tgz] |
---|---|---|
author | David Tseng <dtseng@chromium.org> | Mon Mar 05 19:19:14 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Mar 05 19:19:14 2018 |
tree | 601778e849ec466507498c63c901132b1b81a16a | |
parent | be4bc0c6abc18cb312e6fef3c4b8250ad280e6bf [diff] |
Ensure window visibility changes get propagated through automation Whenever a window changes visibility, the node data changes. In particular, the invisible state gets set depending on the window->IsVisible() call. This change fires a layout complete on the window who's visibility changes. Since the WindowObserver::OnWindowVisibilityChanged gets called on all ancestors and dscendants of the window, we can simply fire the event on the window being observed (and not the window passed to the callback). Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation Change-Id: I97554c7224f7e5c125eb60609ea316e227ca2560 Reviewed-on: https://chromium-review.googlesource.com/942603 Reviewed-by: Michael Giuffrida <michaelpg@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org> Commit-Queue: David Tseng <dtseng@chromium.org> Cr-Commit-Position: refs/heads/master@{#540892}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .