summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/sync_internals/search.js
blob: 6f9816ded74b8eae668b37aca93582a625bd8bc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// require: cr/ui.js
// require: util.js

cr.ui.decorate('#sync-results-splitter', cr.ui.Splitter);

var allLinks = document.getElementsByClassName('sync-search-quicklink');

chrome.sync.decorateQuickQueryControls(
  allLinks,
  $('sync-search-submit'),
  $('sync-search-query'));

chrome.sync.decorateSearchControls(
  $('sync-search-query'),
  $('sync-search-submit'),
  $('sync-search-status'),
  $('sync-results-list'),
  $('sync-result-details'));