OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // require: cr/ui.js | 5 // require: cr/ui.js |
6 // require: util.js | 6 // require: util.js |
7 | 7 |
8 cr.ui.decorate('#sync-results-splitter', cr.ui.Splitter); | 8 cr.ui.decorate('#sync-results-splitter', cr.ui.Splitter); |
9 | 9 |
10 var allLinks = document.getElementsByClassName('sync-search-quicklink'); | 10 var allLinks = document.getElementsByClassName('sync-search-quicklink'); |
11 | 11 |
12 chrome.sync.decorateQuickQueryControls( | 12 chrome.sync.decorateQuickQueryControls( |
13 allLinks, | 13 allLinks, |
14 $('sync-search-submit'), | 14 $('sync-search-submit'), |
15 $('sync-search-query')); | 15 $('sync-search-query')); |
16 | 16 |
17 chrome.sync.decorateSearchControls( | 17 chrome.sync.decorateSearchControls( |
18 $('sync-search-query'), | 18 $('sync-search-query'), |
19 $('sync-search-submit'), | 19 $('sync-search-submit'), |
20 $('sync-search-status'), | 20 $('sync-search-status'), |
21 $('sync-results-list'), | 21 $('sync-results-list'), |
22 $('sync-result-details')); | 22 $('sync-result-details')); |
OLD | NEW |