Commit 8d1bf34d authored by Adolfo Victoria's avatar Adolfo Victoria Committed by Commit Bot

Add Icons for SMB Provider.

Added the icons for the native SMB client to the theme, this changes
the icon under the "Add New Services" menu in the Files app to the
correct one. Updated the URLs in smb_provider.cc accordingly.

BUG=chromium:842753
TEST=verified on test device (cave board)

Change-Id: Id4f835f0ea167707c34f35b9022c6f685ce2f958
Reviewed-on: https://chromium-review.googlesource.com/1077548Reviewed-by: default avatarZentaro Kavanagh <zentaro@chromium.org>
Reviewed-by: default avatarMitsuru Oshima <oshima@chromium.org>
Commit-Queue: Adolfo Higueros <adokar@google.com>
Cr-Commit-Position: refs/heads/master@{#565679}
parent d9fd0a96
...@@ -387,6 +387,7 @@ ...@@ -387,6 +387,7 @@
</if> </if>
<structure type="chrome_scaled_image" name="IDR_SHOW_PASSWORD_HOVER" file="common/show_password_hover.png" /> <structure type="chrome_scaled_image" name="IDR_SHOW_PASSWORD_HOVER" file="common/show_password_hover.png" />
<if expr="chromeos"> <if expr="chromeos">
<structure type="chrome_scaled_image" name="IDR_SMB_ICON" file="cros/smb_icon.png" />
<structure type="chrome_scaled_image" name="IDR_SUPERVISED_ILLUSTRATION_START" file="cros/supervised_illustration_start.png" /> <structure type="chrome_scaled_image" name="IDR_SUPERVISED_ILLUSTRATION_START" file="cros/supervised_illustration_start.png" />
<structure type="chrome_scaled_image" name="IDR_SUPERVISED_ILLUSTRATION_DONE" file="cros/supervised_illsutration_done.png" /> <structure type="chrome_scaled_image" name="IDR_SUPERVISED_ILLUSTRATION_DONE" file="cros/supervised_illsutration_done.png" />
<structure type="chrome_scaled_image" name="IDR_LOGO_AVATAR_CIRCLE_BLUE_COLOR" file="cros/logo_avatar_circle_blue_color.png" /> <structure type="chrome_scaled_image" name="IDR_LOGO_AVATAR_CIRCLE_BLUE_COLOR" file="cros/logo_avatar_circle_blue_color.png" />
......
...@@ -27,11 +27,10 @@ SmbProvider::SmbProvider(UnmountCallback unmount_callback) ...@@ -27,11 +27,10 @@ SmbProvider::SmbProvider(UnmountCallback unmount_callback)
// languages. See l10n_util::GetStringUTF8. // languages. See l10n_util::GetStringUTF8.
name_("SMB Shares"), name_("SMB Shares"),
unmount_callback_(std::move(unmount_callback)) { unmount_callback_(std::move(unmount_callback)) {
// TODO(baileyberro): Fill out with proper icons.
icon_set_.SetIcon(IconSet::IconSize::SIZE_16x16, icon_set_.SetIcon(IconSet::IconSize::SIZE_16x16,
GURL("chrome://resources/images/apps/button.png")); GURL("chrome://theme/IDR_SMB_ICON"));
icon_set_.SetIcon(IconSet::IconSize::SIZE_32x32, icon_set_.SetIcon(IconSet::IconSize::SIZE_32x32,
GURL("chrome://resources/images/2x/apps/button.png")); GURL("chrome://theme/IDR_SMB_ICON@2x"));
} }
SmbProvider::~SmbProvider() = default; SmbProvider::~SmbProvider() = default;
......
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