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

Unified Diff: chrome/browser/resources/chromeos/login/oobe_buttons.html

Issue 2753513002: ChromeOS OOBE: display icons specific to screen DPI. (Closed)
Patch Set: Added hr-iron-icon Created 3 years, 9 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: chrome/browser/resources/chromeos/login/oobe_buttons.html
diff --git a/chrome/browser/resources/chromeos/login/oobe_buttons.html b/chrome/browser/resources/chromeos/login/oobe_buttons.html
index df4e93e19f588ccecab71b932c4adc1aab952f9d..8c1945c970a8f93209bfae48a7267bf1fb2e72b8 100644
--- a/chrome/browser/resources/chromeos/login/oobe_buttons.html
+++ b/chrome/browser/resources/chromeos/login/oobe_buttons.html
@@ -98,7 +98,9 @@
</oobe-welcome-secondary-button>
Attributes:
- 'icon' - a name of icon from material design set to show on button.
+ 1x and 2x icons:
+ 'icon1x' - a name of icon from material design set to show on button.
+ 'icon2x' - a name of icon from material design set to show on button.
'label-for-aria' - accessibility label.
-->
<dom-module id="oobe-welcome-secondary-button">
@@ -108,7 +110,9 @@
<div id="container" class="flex layout vertical center self-stretch">
<div id="subcontainer"
class="flex layout horizontal center self-stretch">
- <iron-icon icon="[[icon]]" class="oobe-icon"></iron-icon>
+ <hd-iron-icon icon1x="[[icon1x]]" icon2x="[[icon2x]]"
+ class="oobe-icon">
+ </hd-iron-icon>
<content></content>
</div>
</div>

Powered by Google App Engine
This is Rietveld 408576698