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

Side by Side Diff: chrome/browser/resources/settings/downloads_page/demo.js

Issue 988783002: Add an initial implementation of the downloads MD settings page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Respond to Michael's comments. Created 5 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 /** 5 // Wire up the prefs to the downloads page.
6 * Wire up the prefs to the a11y page. 6 window.addEventListener('polymer-ready', function() {
7 */ 7 var page = document.querySelector('cr-settings-downloads-page');
8 window.onload = function() {
9 var page = document.querySelector('cr-settings-a11y-page');
10 page.prefs = document.querySelector('cr-settings-prefs'); 8 page.prefs = document.querySelector('cr-settings-prefs');
11 }; 9 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698