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

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: Rebase 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 /** 265 /**
266 * This computed binding is needed to make the iron-pages selector update when 266 * This computed binding is needed to make the iron-pages selector update when
267 * the synced-device-manager is instantiated for the first time. Otherwise the 267 * the synced-device-manager is instantiated for the first time. Otherwise the
268 * fallback selection will continue to be used after the corresponding item is 268 * fallback selection will continue to be used after the corresponding item is
269 * added as a child of iron-pages. 269 * added as a child of iron-pages.
270 * @param {string} selectedPage 270 * @param {string} selectedPage
271 * @param {Array} items 271 * @param {Array} items
272 * @return {string} 272 * @return {string}
273 * @private 273 * @private
274 */ 274 */
275 getSelectedPage_(selectedPage, items) { 275 getSelectedPage_: function(selectedPage, items) {
276 return selectedPage; 276 return selectedPage;
277 }, 277 },
278 278
279 /** @private */ 279 /** @private */
280 closeDrawer_: function() { 280 closeDrawer_: function() {
281 var drawer = this.$$('#drawer'); 281 var drawer = this.$$('#drawer');
282 if (drawer) 282 if (drawer)
283 drawer.close(); 283 drawer.close();
284 }, 284 },
285 }); 285 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_history/PRESUBMIT.py ('k') | chrome/browser/resources/md_history/app.crisper.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698