Commit 1ca6cae0 authored by Jesse Schettler's avatar Jesse Schettler Committed by Commit Bot

scanning: Replace temporary icon with final icon

Replace the temporary app icon with the finalized app icon.

Bug: 1059779
Change-Id: I6105da8922cb0ccc0ac40c9fe061ebdb8ec9a44a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2486480Reviewed-by: default avatarGiovanni Ortuño Urquidi <ortuno@chromium.org>
Commit-Queue: Jesse Schettler <jschettler@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819387}
parent ff7a58a4
......@@ -22,7 +22,16 @@ std::unique_ptr<WebApplicationInfo> CreateWebAppInfoForScanningSystemWebApp() {
info->scope = GURL(chromeos::kChromeUIScanningAppUrl);
info->title = l10n_util::GetStringUTF16(IDS_SCANNING_APP_TITLE);
web_app::CreateIconInfoForSystemWebApp(
info->start_url, {{"app_icon_192.png", 192, IDR_SCANNING_APP_ICON}},
info->start_url,
{
{"scanning_app_icon_16.png", 16, IDR_SCANNING_APP_ICON_16},
{"scanning_app_icon_32.png", 32, IDR_SCANNING_APP_ICON_32},
{"scanning_app_icon_48.png", 48, IDR_SCANNING_APP_ICON_48},
{"scanning_app_icon_64.png", 64, IDR_SCANNING_APP_ICON_64},
{"scanning_app_icon_128.png", 128, IDR_SCANNING_APP_ICON_128},
{"scanning_app_icon_192.png", 192, IDR_SCANNING_APP_ICON_192},
{"scanning_app_icon_256.png", 256, IDR_SCANNING_APP_ICON_256},
},
*info);
info->theme_color = 0xFFFFFFFF;
info->background_color = 0xFFFFFFFF;
......
......@@ -28,7 +28,13 @@
<include name="IDR_SCANNING_APP_RESOLUTION_SELECT_JS" file="${root_gen_dir}/chromeos/components/scanning/resources/resolution_select.js" use_base_dir="false" type="BINDATA"/>
<include name="IDR_SCANNING_APP_SCAN_SETTINGS_SECTION_JS" file="${root_gen_dir}/chromeos/components/scanning/resources/scan_settings_section.js" use_base_dir="false" type="BINDATA"/>
<include name="IDR_SCANNING_APP_THROBBER_CSS_JS" file="${root_gen_dir}/chromeos/components/scanning/resources/throbber_css.js" use_base_dir="false" type="BINDATA"/>
<include name="IDR_SCANNING_APP_ICON" file="app_icon_192.png" type="BINDATA" />
<include name="IDR_SCANNING_APP_ICON_16" file="scanning_app_icon_16.png" type="BINDATA" />
<include name="IDR_SCANNING_APP_ICON_32" file="scanning_app_icon_32.png" type="BINDATA" />
<include name="IDR_SCANNING_APP_ICON_48" file="scanning_app_icon_48.png" type="BINDATA" />
<include name="IDR_SCANNING_APP_ICON_64" file="scanning_app_icon_64.png" type="BINDATA" />
<include name="IDR_SCANNING_APP_ICON_128" file="scanning_app_icon_128.png" type="BINDATA" />
<include name="IDR_SCANNING_APP_ICON_192" file="scanning_app_icon_192.png" type="BINDATA" />
<include name="IDR_SCANNING_APP_ICON_256" file="scanning_app_icon_256.png" type="BINDATA" />
</includes>
<structures>
......
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