Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1121)

Unified Diff: ui/webui/resources/cr_elements/cr_search_field/cr_search_icons.html

Issue 1928243002: MD History: Only load needed paper-icon-buttons instead of whole set of icons (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change cr_search_field icons Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/webui/resources/cr_elements/cr_search_field/cr_search_icons.html
diff --git a/ui/webui/resources/cr_elements/cr_search_field/cr_search_icons.html b/ui/webui/resources/cr_elements/cr_search_field/cr_search_icons.html
new file mode 100644
index 0000000000000000000000000000000000000000..a6bcd9900698a1010184222433cfaf2e4163d4df
--- /dev/null
+++ b/ui/webui/resources/cr_elements/cr_search_field/cr_search_icons.html
@@ -0,0 +1,10 @@
+<link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/iron-iconset-svg/iron-iconset-svg.html">
+
+
+<iron-iconset-svg size="20" name="cr-search-icons">
tsergeant 2016/05/02 16:46:46 You could maybe make this a general shared set of
michaelpg 2016/05/03 02:44:34 Yes, I'd put this in cr_elements/cr_icons.html. We
michaelpg 2016/05/05 15:04:52 This is done now, please rebase.
+<svg><defs>
+<g id="cancel"><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"></path></g>
+<g id="search"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path></g>
+</defs></svg>
+</iron-iconset-svg>

Powered by Google App Engine
This is Rietveld 408576698