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

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

Issue 2753513002: ChromeOS OOBE: display icons specific to screen DPI. (Closed)
Patch Set: 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..6e5c3843e54e33ad244403971f05173438ffebc2 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,10 @@
<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>
+ <iron-icon id="icon1x" icon="[[icon1x]]" class="oobe-icon">
+ </iron-icon>
+ <iron-icon id="icon2x" icon="[[icon2x]]" class="oobe-icon">
+ </iron-icon>
<content></content>
</div>
</div>

Powered by Google App Engine
This is Rietveld 408576698