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

Unified Diff: chrome/browser/resources/chromeos/login/oobe_dialog.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_dialog.html
diff --git a/chrome/browser/resources/chromeos/login/oobe_dialog.html b/chrome/browser/resources/chromeos/login/oobe_dialog.html
index 6f7e0cd864d1b6979a79e885c2faab73fe414e7e..7127a263a830bead21c852789ce6bf51dce63554 100644
--- a/chrome/browser/resources/chromeos/login/oobe_dialog.html
+++ b/chrome/browser/resources/chromeos/login/oobe_dialog.html
@@ -34,8 +34,16 @@
</oobe-dialog>
Add class |header| to all which you want to go inside the header. Similar
- with clases |footer|, |bottom-buttons| and |oobe-icon|. |bottom-buttons| block
- is shown only if |has-buttons| attribute is set.
+ with clases |footer|, |bottom-buttons|.
+
+ For single-DPI image |oobe-icon| class should be used. To select between two
+ images of different DPI, |oobe-icon-1x| and |oobe-icon-2x| should be used
+ instead. For example:
+
+ <iron-icon icon="icon1" ... class="oobe-icon oobe-icon-1x">
+ <iron-icon icon-"icon2" ... class="oobe-icon oobe-icon-2x">
+
+ |bottom-buttons| block is shown only if |has-buttons| attribute is set.
-->
<dom-module id="oobe-dialog">
<template>

Powered by Google App Engine
This is Rietveld 408576698