Add card layout variant with large thumbnails

Desktop / Chromium - mvanouwerkerk [chromium.org] - 19 June 2017 10:15 EDT

It is behind a flag and enabled by default.

BUG=734101

Review-Url: https://codereview.chromium.org/2940263004 Cr-Commit-Position: refs/heads/master@{#480432}

89d9edc Add card layout variant with large thumbnails.
.../new_tab_page_snippets_card_large_thumbnail.xml | 113 +++++++++++++++++++++
chrome/android/java/res/values/dimens.xml | 1 +
.../chromium/chrome/browser/ChromeFeatureList.java | 2 +
.../ntp/snippets/SnippetArticleViewHolder.java | 27 +++--
.../browser/ntp/snippets/ArticleSnippetsTest.java | 2 +-
chrome/browser/about_flags.cc | 5 +
chrome/browser/android/chrome_feature_list.cc | 4 +
chrome/browser/android/chrome_feature_list.h | 1 +
chrome/browser/flag_descriptions.cc | 7 ++
chrome/browser/flag_descriptions.h | 3 +
tools/metrics/histograms/enums.xml | 2 +
11 files changed, 159 insertions(+), 8 deletions(-)

Upstream: git.chromium.org


  • Share