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

Side by Side Diff: chrome/browser/resources/md_downloads/manager.html

Issue 2895723002: [WebUI] use one-way Polymer binding on dom-if, dom-repeat, and iron-list (Closed)
Patch Set: Created 3 years, 7 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
1 <link rel="import" href="chrome://resources/cr_elements/hidden_style_css.html"> 1 <link rel="import" href="chrome://resources/cr_elements/hidden_style_css.html">
2 <link rel="import" href="chrome://resources/html/cr.html"> 2 <link rel="import" href="chrome://resources/html/cr.html">
3 <link rel="import" href="chrome://resources/html/cr/ui.html"> 3 <link rel="import" href="chrome://resources/html/cr/ui.html">
4 <link rel="import" href="chrome://resources/html/cr/ui/command.html"> 4 <link rel="import" href="chrome://resources/html/cr/ui/command.html">
5 <link rel="import" href="chrome://resources/html/polymer.html"> 5 <link rel="import" href="chrome://resources/html/polymer.html">
6 <link rel="import" href="chrome://resources/html/util.html"> 6 <link rel="import" href="chrome://resources/html/util.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-announcer/iro n-a11y-announcer.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-announcer/iro n-a11y-announcer.html">
8 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm l"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm l">
9 <link rel="import" href="chrome://downloads/action_service.html"> 9 <link rel="import" href="chrome://downloads/action_service.html">
10 <link rel="import" href="chrome://downloads/constants.html"> 10 <link rel="import" href="chrome://downloads/constants.html">
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 url(chrome://downloads/2x/no_downloads.png) 2x) 86 url(chrome://downloads/2x/no_downloads.png) 2x)
87 no-repeat center center; 87 no-repeat center center;
88 height: 144px; /* Matches natural image height. */ 88 height: 144px; /* Matches natural image height. */
89 margin-bottom: 32px; 89 margin-bottom: 32px;
90 } 90 }
91 </style> 91 </style>
92 92
93 <downloads-toolbar id="toolbar" spinner-active="{{spinnerActive_}}" 93 <downloads-toolbar id="toolbar" spinner-active="{{spinnerActive_}}"
94 role="none"> 94 role="none">
95 </downloads-toolbar> 95 </downloads-toolbar>
96 <iron-list id="downloads-list" items="{{items_}}" 96 <iron-list id="downloads-list" items="[[items_]]"
97 hidden="[[!hasDownloads_]]"> 97 hidden="[[!hasDownloads_]]">
98 <template> 98 <template>
99 <downloads-item data="[[item]]"></downloads-item> 99 <downloads-item data="[[item]]"></downloads-item>
100 </template> 100 </template>
101 </iron-list> 101 </iron-list>
102 <div id="no-downloads" hidden="[[hasDownloads_]]"> 102 <div id="no-downloads" hidden="[[hasDownloads_]]">
103 <div> 103 <div>
104 <div class="illustration"></div> 104 <div class="illustration"></div>
105 <span>[[noDownloadsText_(inSearchMode_)]]</span> 105 <span>[[noDownloadsText_(inSearchMode_)]]</span>
106 </div> 106 </div>
107 </div> 107 </div>
108 </template> 108 </template>
109 <script src="chrome://downloads/manager.js"></script> 109 <script src="chrome://downloads/manager.js"></script>
110 </dom-module> 110 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698