Ensure low-memory renderers retry failed loads correctly.
[chromium-blink-merge.git] / components / sync_driver / resources / search.js
blob6f9816ded74b8eae668b37aca93582a625bd8bc0
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
3 // found in the LICENSE file.
5 // require: cr/ui.js
6 // require: util.js
8 cr.ui.decorate('#sync-results-splitter', cr.ui.Splitter);
10 var allLinks = document.getElementsByClassName('sync-search-quicklink');
12 chrome.sync.decorateQuickQueryControls(
13   allLinks,
14   $('sync-search-submit'),
15   $('sync-search-query'));
17 chrome.sync.decorateSearchControls(
18   $('sync-search-query'),
19   $('sync-search-submit'),
20   $('sync-search-status'),
21   $('sync-results-list'),
22   $('sync-result-details'));