Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Side by Side Diff: chrome/browser/resources/chromeos/bluetooth_options.js

Issue 2944703004: Run clang-format on .js files in c/b/r/chromeos (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 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 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 cr.define('options', function() { 5 cr.define('options', function() {
6 /** @const */ var Page = cr.ui.pageManager.Page; 6 /** @const */ var Page = cr.ui.pageManager.Page;
7 7
8 /** 8 /**
9 * Encapsulated handling of the BluetoothOptions calls from 9 * Encapsulated handling of the BluetoothOptions calls from
10 * BluetoothOptionsHandler that is registered by the webUI, 10 * BluetoothOptionsHandler that is registered by the webUI,
11 * ie, BluetoothPairingUI. 11 * ie, BluetoothPairingUI.
12 * @constructor 12 * @constructor
13 */ 13 */
14 function BluetoothOptions() { 14 function BluetoothOptions() {
15 Page.call(this, 'bluetooth', '', 'bluetooth-container'); 15 Page.call(this, 'bluetooth', '', 'bluetooth-container');
16 } 16 }
17 17
18 cr.addSingletonGetter(BluetoothOptions); 18 cr.addSingletonGetter(BluetoothOptions);
19 19
20 BluetoothOptions.prototype = { 20 BluetoothOptions.prototype = {
21 __proto__: Page.prototype, 21 __proto__: Page.prototype,
22 }; 22 };
23 23
24 BluetoothOptions.updateDiscovery = function() { 24 BluetoothOptions.updateDiscovery = function() {};
25 };
26 25
27 // Export 26 // Export
28 return { 27 return {BluetoothOptions: BluetoothOptions};
29 BluetoothOptions: BluetoothOptions
30 };
31 }); 28 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/arc_support/playstore.js ('k') | chrome/browser/resources/chromeos/bluetooth_pair_device.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698