commit | 7081986eb0bbfa4a8bcd237f2ae3d061f10972b3 | [log] [tgz] |
---|---|---|
author | Wei-Yin Chen (陳威尹) <wychen@chromium.org> | Thu Jan 16 09:19:59 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jan 16 09:19:59 2020 |
tree | f96adcd4143656f749027899e604029447681cb2 | |
parent | 92f32d5475dbe589e02087c7f17949adb81e08ae [diff] |
Add thumbnail_aspect_ratio variation flags This CL adopts the aspect ratio from Finch to thumbnail size. If the JPEG has different aspect ratio, regenerate the JPEG file from the ETC1 file. Integration with tab_grid_layout_android_new_tab_tile variation is also added. Everything introduced in this CL is gated by field trail under the enable-tab-grid-layout flag. And most of the Java part is verified to be behind the gating functions FeatureUtilities.isTabThumbnailAspectRatioNotOne() and FeatureUtilities.isAllowToRefetchTabThumbnail() by formal equivalence checking tool here: http://crrev.com/c/1934235. Note: the tool does not support native yet. TBR=yusufo@chromium.org This is based on http://crrev.com/c/1990214/14. Bug: 1041536 Change-Id: I5db65a72b7c56a4546491a13d43872b46ee6e55b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2003825 Commit-Queue: Wei-Yin Chen (陳威尹) <wychen@chromium.org> Reviewed-by: Wei-Yin Chen (陳威尹) <wychen@chromium.org> Cr-Commit-Position: refs/heads/master@{#732324}
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 .