Commit 97f51122 authored by Roman Arora's avatar Roman Arora Committed by Commit Bot

MWB: Shared 16dp icons

Bug: 1133575
Change-Id: I0664480f31d008136f005f3ab44bd66ca40e0f5c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2441333Reviewed-by: default avatarJohn Lee <johntlee@chromium.org>
Commit-Queue: Roman Arora <romanarora@chromium.org>
Cr-Commit-Position: refs/heads/master@{#812396}
parent 12880493
...@@ -253,6 +253,7 @@ js_library("find_shortcut_behavior.m") { ...@@ -253,6 +253,7 @@ js_library("find_shortcut_behavior.m") {
html_to_js("web_components") { html_to_js("web_components") {
js_files = [ js_files = [
"mwb_shared_icons.js",
"mwb_shared_style.js", "mwb_shared_style.js",
"mwb_shared_vars.js", "mwb_shared_vars.js",
] ]
......
<iron-iconset-svg name="mwb16" size="16">
<svg>
<defs>
<g id="close">
<path d="M13 4.00714L11.9929 3L8 6.99286L4.00714 3L3 4.00714L6.99286 8L3 11.9929L4.00714 13L8 9.00714L11.9929 13L13 11.9929L9.00714 8L13 4.00714Z">
</path>
</g>
<g id="search">
<path fill-rule="evenodd" clip-rule="evenodd"
d="M10.8619 10.2981L10.6177 10.0578C11.484 9.05905 12.0874 7.68174 12.0874 5.97468C12.0874 2.82136 9.23365 0 6.04368 0C2.85486 0 0 2.82136 0 5.97468C0 9.12687 3.45353 11.9462 6.17606 11.9482C7.77044 11.9494 9.0094 11.5085 9.98871 10.6796L10.2341 10.921V11.6156L14.6752 16L16 14.6904L11.5681 10.2981H10.8619ZM6.04422 10.2423C3.65985 10.2423 1.72676 8.33212 1.72676 5.97468C1.72676 3.61724 3.65985 1.70705 6.04422 1.70705C8.42749 1.70705 10.3606 3.61724 10.3606 5.97468C10.3606 8.33212 8.42749 10.2423 6.04422 10.2423V10.2423Z">
</path>
</g>
</defs>
</svg>
</iron-iconset-svg>
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import '//resources/polymer/v3_0/iron-iconset-svg/iron-iconset-svg.js';
const template = document.createElement('template');
template.innerHTML = `{__html_template__}`;
document.head.appendChild(template.content);
...@@ -187,6 +187,10 @@ ...@@ -187,6 +187,10 @@
file="${root_gen_dir}/ui/webui/resources/cr_elements/md_select_css.m.js" file="${root_gen_dir}/ui/webui/resources/cr_elements/md_select_css.m.js"
use_base_dir="false" use_base_dir="false"
type="BINDATA" /> type="BINDATA" />
<include name="IDR_CR_ELEMENTS_MWB_SHARED_ICONS_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/mwb_shared_icons.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_CR_ELEMENTS_MWB_SHARED_STYLE_JS" <include name="IDR_CR_ELEMENTS_MWB_SHARED_STYLE_JS"
file="${root_gen_dir}/ui/webui/resources/cr_elements/mwb_shared_style.js" file="${root_gen_dir}/ui/webui/resources/cr_elements/mwb_shared_style.js"
use_base_dir="false" use_base_dir="false"
......
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