Commit 928b1d83 authored by Kristi Park's avatar Kristi Park Committed by Commit Bot

[NTP] Remove thumbnail for prepopulated site

Remove the Chrome Webstore thumbnail. NTP thumbnails have been
deprecated as of M69.

Bug: 893362
Change-Id: If5b7c3b40fb2033785385af0e64003c91f131701
Reviewed-on: https://chromium-review.googlesource.com/c/1357604
Commit-Queue: Kristi Park <kristipark@chromium.org>
Reviewed-by: default avatarNico Weber <thakis@chromium.org>
Reviewed-by: default avatarRamya Nagarajan <ramyan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#613791}
parent dbb6459c
...@@ -184,7 +184,6 @@ ...@@ -184,7 +184,6 @@
<if expr="chromeos"> <if expr="chromeos">
<structure type="chrome_scaled_image" name="IDR_NETWORK_ADD_CONNECTION" file="cros/network_add_connection.png" /> <structure type="chrome_scaled_image" name="IDR_NETWORK_ADD_CONNECTION" file="cros/network_add_connection.png" />
</if> </if>
<structure type="chrome_scaled_image" name="IDR_NEWTAB_WEBSTORE_THUMBNAIL" file="ntp_webstore_thumb.png" />
<if expr="chromeos"> <if expr="chromeos">
<structure type="chrome_scaled_image" name="IDR_NOTIFICATION_DRIVE" file="cros/notification_drive.png" /> <structure type="chrome_scaled_image" name="IDR_NOTIFICATION_DRIVE" file="cros/notification_drive.png" />
<structure type="chrome_scaled_image" name="IDR_NOTIFICATION_FINGERPRINT" file="cros/notification_fingerprint.png" /> <structure type="chrome_scaled_image" name="IDR_NOTIFICATION_FINGERPRINT" file="cros/notification_fingerprint.png" />
......
...@@ -51,7 +51,6 @@ struct RawPrepopulatedPage { ...@@ -51,7 +51,6 @@ struct RawPrepopulatedPage {
int title_id; // The resource for the page title. int title_id; // The resource for the page title.
int favicon_id; // The raw data resource for the favicon. int favicon_id; // The raw data resource for the favicon.
int large_favicon_id; // The raw data resource for the larger favicon. int large_favicon_id; // The raw data resource for the larger favicon.
int thumbnail_id; // The raw data resource for the thumbnail.
SkColor color; // The best color to highlight the page (should SkColor color; // The best color to highlight the page (should
// roughly match favicon). // roughly match favicon).
}; };
...@@ -60,9 +59,11 @@ struct RawPrepopulatedPage { ...@@ -60,9 +59,11 @@ struct RawPrepopulatedPage {
// Android does not use prepopulated pages. // Android does not use prepopulated pages.
const RawPrepopulatedPage kRawPrepopulatedPages[] = { const RawPrepopulatedPage kRawPrepopulatedPages[] = {
{ {
IDS_WEBSTORE_URL, IDS_EXTENSION_WEB_STORE_TITLE_SHORT, IDS_WEBSTORE_URL,
IDR_WEBSTORE_ICON_16, IDR_WEBSTORE_ICON_32, IDS_EXTENSION_WEB_STORE_TITLE_SHORT,
IDR_NEWTAB_WEBSTORE_THUMBNAIL, SkColorSetRGB(63, 132, 197), IDR_WEBSTORE_ICON_16,
IDR_WEBSTORE_ICON_32,
SkColorSetRGB(63, 132, 197),
}, },
}; };
#endif #endif
...@@ -82,7 +83,7 @@ void InitializePrepopulatedPageList( ...@@ -82,7 +83,7 @@ void InitializePrepopulatedPageList(
GURL(l10n_util::GetStringUTF8(page.url_id)), GURL(l10n_util::GetStringUTF8(page.url_id)),
l10n_util::GetStringUTF16(page.title_id), l10n_util::GetStringUTF16(page.title_id),
features::IsMDIconsEnabled() ? page.large_favicon_id : page.favicon_id, features::IsMDIconsEnabled() ? page.large_favicon_id : page.favicon_id,
page.thumbnail_id, page.color)); /*thumbnail_id=*/-1, page.color));
} }
#endif #endif
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment