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

Side by Side Diff: chrome/browser/resources/md_history/app.js

Issue 2224003003: Vulcanize MD History to improve page-load performance (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change to keyword arguments Created 4 years, 4 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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 Polymer({ 5 Polymer({
6 is: 'history-app', 6 is: 'history-app',
7 7
8 properties: { 8 properties: {
9 showSidebarFooter: Boolean, 9 showSidebarFooter: Boolean,
10 10
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 /** 258 /**
259 * This computed binding is needed to make the iron-pages selector update when 259 * This computed binding is needed to make the iron-pages selector update when
260 * the synced-device-manager is instantiated for the first time. Otherwise the 260 * the synced-device-manager is instantiated for the first time. Otherwise the
261 * fallback selection will continue to be used after the corresponding item is 261 * fallback selection will continue to be used after the corresponding item is
262 * added as a child of iron-pages. 262 * added as a child of iron-pages.
263 * @param {string} selectedPage 263 * @param {string} selectedPage
264 * @param {Array} items 264 * @param {Array} items
265 * @return {string} 265 * @return {string}
266 * @private 266 * @private
267 */ 267 */
268 getSelectedPage_(selectedPage, items) { 268 getSelectedPage_: function(selectedPage, items) {
269 return selectedPage; 269 return selectedPage;
270 }, 270 },
271 271
272 /** @private */ 272 /** @private */
273 closeDrawer_: function() { 273 closeDrawer_: function() {
274 var drawer = this.$$('#drawer'); 274 var drawer = this.$$('#drawer');
275 if (drawer) 275 if (drawer)
276 drawer.close(); 276 drawer.close();
277 }, 277 },
278 }); 278 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698