summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/chromeos/bluetooth_options.js
blob: 150592aab3a782004be343d02b2f4b9961936e22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright (c) 2013 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.

cr.define('options', function() {
  /** @const */ var Page = cr.ui.pageManager.Page;

  /**
   * Encapsulated handling of the BluetoothOptions calls from
   * BluetoothOptionsHandler that is registered by the webUI,
   * ie, BluetoothPairingUI.
   * @constructor
   */
  function BluetoothOptions() {
    Page.call(this, 'bluetooth', '', 'bluetooth-container');
  }

  cr.addSingletonGetter(BluetoothOptions);

  BluetoothOptions.prototype = {
    __proto__: Page.prototype,
  };

  BluetoothOptions.updateDiscovery = function() {
  };

  // Export
  return {
    BluetoothOptions: BluetoothOptions
  };
});