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

Side by Side Diff: chrome/browser/resources/chromeos/login/hd-iron-icon.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 unified diff | Download patch
OLDNEW
(Empty)
1 <!-- Copyright 2017 The Chromium Authors. All rights reserved.
2 Use of this source code is governed by a BSD-style license that can be
3 found in the LICENSE file. -->
4
5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l">
6
7 <!--
8 <iron-icon> that automatically displays one of the two icond depending on
9 display resolution,
10
11 Example:
12 <hd-iron-icon icon1x="icons:wifi-1x" icon2x="icons:wifi-2x"></hd-iron-icon>
13
14 Attributes:
15 1x and 2x icons:
16 'icon1x' - a name of icon from material design set to show on button.
17 'icon2x' - a name of icon from material design set to show on button.
18 -->
19 <dom-module id="hd-iron-icon">
20 <link rel="stylesheet" href="hd-iron-icon.css">
21 <template>
22 <div>
23 <iron-icon id="icon1x" icon="[[icon1x]]"></iron-icon>
24 <iron-icon id="icon2x" icon="[[icon2x]]"></iron-icon>
25 </div>
26 </template>
27 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698