WebUI NTP Modules: coordinate showing promo and modules
Hide promo and modules until both are loaded. Fix issue with promo that is not shown until resize. The promo is hidden using "display: none" when the "hidden" attribute is set. This needs to be updated before emitting the loaded event. The handler needs the bounding rect of the element to be set to determine if it overlaps with the most-visited tiles. This is only a concern for when modules are disabled. Change-Id: Idf6c692f3e18af38bcc3e2d7224466c2239608e7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2441942 Auto-Submit: Esmael Elmoslimany <aee@chromium.org> Commit-Queue: Tibor Goldschwendt <tiborg@chromium.org> Reviewed-by:Tibor Goldschwendt <tiborg@chromium.org> Cr-Commit-Position: refs/heads/master@{#812788}
Showing
Please register or sign in to comment