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

Side by Side Diff: chrome/browser/resources/options/chromeos/bluetooth_pair_device_overlay.js

Issue 13416005: Bluetooth: clean up BluetoothDevice (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More win visible fixes Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 OptionsPage = options.OptionsPage; 6 /** @const */ var OptionsPage = options.OptionsPage;
7 7
8 /** 8 /**
9 * Enumeration of possible states during pairing. The value associated with 9 * Enumeration of possible states during pairing. The value associated with
10 * each state maps to a localized string in the global variable 10 * each state maps to a localized string in the global variable
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 BluetoothPairing.prototype = { 54 BluetoothPairing.prototype = {
55 __proto__: OptionsPage.prototype, 55 __proto__: OptionsPage.prototype,
56 56
57 /** 57 /**
58 * Description of the bluetooth device. 58 * Description of the bluetooth device.
59 * @type {{name: string, 59 * @type {{name: string,
60 * address: string, 60 * address: string,
61 * icon: Constants.DEVICE_TYPE, 61 * icon: Constants.DEVICE_TYPE,
62 * paired: boolean, 62 * paired: boolean,
63 * bonded: boolean,
64 * connected: boolean, 63 * connected: boolean,
65 * pairing: string|undefined, 64 * pairing: string|undefined,
66 * passkey: number|undefined, 65 * passkey: number|undefined,
67 * pincode: string|undefined, 66 * pincode: string|undefined,
68 * entered: number|undefined}} 67 * entered: number|undefined}}
69 * @private. 68 * @private.
70 */ 69 */
71 device_: null, 70 device_: null,
72 71
73 /** 72 /**
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 dialog.device_.pairing = PAIRING.DISMISSED; 380 dialog.device_.pairing = PAIRING.DISMISSED;
382 OptionsPage.closeOverlay(); 381 OptionsPage.closeOverlay();
383 } 382 }
384 }; 383 };
385 384
386 // Export 385 // Export
387 return { 386 return {
388 BluetoothPairing: BluetoothPairing 387 BluetoothPairing: BluetoothPairing
389 }; 388 };
390 }); 389 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698