1 // Copyright (c) 2013 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 cr.define('options', function() {
6 var OptionsPage = options.OptionsPage;
9 * Encapsulated a fake parent page for bluetooth overlay page used by Web UI.
12 function FakeBluetoothOverlayParent(model) {
13 OptionsPage.call(this, 'bluetooth',
15 'bluetooth-container');
18 cr.addSingletonGetter(FakeBluetoothOverlayParent);
20 FakeBluetoothOverlayParent.prototype = {
21 // Inherit FakeBluetoothOverlayParent from OptionsPage.
22 __proto__: OptionsPage.prototype,
25 * Initializes FakeBluetoothOverlayParent page.
27 initializePage: function() {
28 // Call base class implementation to starts preference initialization.
29 OptionsPage.prototype.initializePage.call(this);
35 FakeBluetoothOverlayParent: FakeBluetoothOverlayParent