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

Side by Side Diff: chrome/browser/resources/md_history/history_toolbar.html

Issue 2656443004: MD History: Add routing for grouped history mode. (Closed)
Patch Set: Tweak Created 3 years, 11 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/html/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l">
3 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 3 <link rel="import" href="chrome://resources/cr_elements/icons.html">
4 <link rel="import" href="chrome://resources/cr_elements/cr_lazy_render/cr_lazy_r ender.html"> 4 <link rel="import" href="chrome://resources/cr_elements/cr_lazy_render/cr_lazy_r ender.html">
5 <link rel="import" href="chrome://resources/cr_elements/cr_toolbar/cr_toolbar.ht ml"> 5 <link rel="import" href="chrome://resources/cr_elements/cr_toolbar/cr_toolbar.ht ml">
6 <link rel="import" href="chrome://history/browser_service.html"> 6 <link rel="import" href="chrome://history/browser_service.html">
7 <link rel="import" href="chrome://history/icons.html"> 7 <link rel="import" href="chrome://history/icons.html">
8 <link rel="import" href="chrome://history/shared_style.html"> 8 <link rel="import" href="chrome://history/shared_style.html">
9 9
10 <!-- Lazy loaded: iron-dropdown, paper-button, paper-icon-button-light, 10 <!-- Lazy loaded: iron-dropdown, paper-button, paper-icon-button-light,
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 </div> 217 </div>
218 </div> 218 </div>
219 </template> 219 </template>
220 </div> 220 </div>
221 <template is="dom-if" if="[[isGroupedMode]]"> 221 <template is="dom-if" if="[[isGroupedMode]]">
222 <div id="grouped-buttons-container"> 222 <div id="grouped-buttons-container">
223 <paper-tabs attr-for-selected="value" selected="[[groupedRange]]" 223 <paper-tabs attr-for-selected="value" selected="[[groupedRange]]"
224 on-iron-select="onTabSelected_"> 224 on-iron-select="onTabSelected_">
225 <paper-tab value="0">$i18n{rangeAllTime}</paper-tab> 225 <paper-tab value="0">$i18n{rangeAllTime}</paper-tab>
226 <paper-tab value="1">$i18n{rangeWeek}</paper-tab> 226 <paper-tab value="1">$i18n{rangeWeek}</paper-tab>
227 <paper-tab value="2">$i18n{rangeMonth}</paper-tab> 227 <paper-tab value="2">$i18n{rangeMonth}</paper-tab>
calamity 2017/01/27 03:47:34 Tangent: these look terrible before the lazy load
tsergeant 2017/01/30 02:13:14 Already on it: https://codereview.chromium.org/265
228 </paper-tabs> 228 </paper-tabs>
229 <div id="grouped-nav-container"> 229 <div id="grouped-nav-container">
230 <span id="grouped-date"> 230 <span id="grouped-date">
231 [[getHistoryInterval_(queryInfo)]] 231 [[getHistoryInterval_(queryInfo)]]
232 </span> 232 </span>
233 <button is="paper-icon-button-light" 233 <button is="paper-icon-button-light"
234 id="today-button" 234 id="today-button"
235 class="icon-button" 235 class="icon-button"
236 title="$i18n{rangeToday}" 236 title="$i18n{rangeToday}"
237 on-tap="onTodayTap_" 237 on-click="onTodayTap_"
238 disabled="[[isToday_(groupedOffset)]]"> 238 disabled="[[isToday_(groupedOffset)]]">
239 <iron-icon icon="history:today"></iron-icon> 239 <iron-icon icon="history:today"></iron-icon>
240 </button> 240 </button>
241 <button is="paper-icon-button-light" 241 <button is="paper-icon-button-light"
242 id="prev-button" 242 id="prev-button"
243 title="$i18n{rangePrevious}" 243 title="$i18n{rangePrevious}"
244 class="icon-button rtl-reversible" 244 class="icon-button rtl-reversible"
245 on-tap="onPrevTap_" 245 on-click="onPrevTap_"
246 disabled="[[!hasMoreResults]]"> 246 disabled="[[!hasMoreResults]]">
247 <iron-icon icon="history:chevron-left"></iron-icon> 247 <iron-icon icon="history:chevron-left"></iron-icon>
248 </button> 248 </button>
249 <button is="paper-icon-button-light" 249 <button is="paper-icon-button-light"
250 id="next-button" 250 id="next-button"
251 title="$i18n{rangeNext}" 251 title="$i18n{rangeNext}"
252 class="icon-button rtl-reversible" 252 class="icon-button rtl-reversible"
253 on-tap="onNextTap_" 253 on-click="onNextTap_"
254 disabled="[[isToday_(groupedOffset)]]"> 254 disabled="[[isToday_(groupedOffset)]]">
255 <iron-icon icon="cr:chevron-right"></iron-icon> 255 <iron-icon icon="cr:chevron-right"></iron-icon>
256 </button> 256 </button>
257 </div> 257 </div>
258 </div> 258 </div>
259 </template> 259 </template>
260 </template> 260 </template>
261 <script src="chrome://history/history_toolbar.js"></script> 261 <script src="chrome://history/history_toolbar.js"></script>
262 </dom-module> 262 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698