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

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

Issue 8233042: Chrome OS: Attach bluetooth UI to device discovery API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address kevers@ code review comments Created 9 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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.system.bluetooth', function() { 5 cr.define('options.system.bluetooth', function() {
6 /** 6 /**
7 * Bluetooth settings constants. 7 * Bluetooth settings constants.
8 */ 8 */
9 function Constants() {} 9 function Constants() {}
10 10
11 /** 11 /**
12 * Enumeration of supported device types. Each device type has an 12 * Enumeration of supported device types. Each device type has an
13 * associated icon and CSS style. 13 * associated icon and CSS style.
14 * @enum {string} 14 * @enum {string}
15 */ 15 */
16 Constants.DEVICE_TYPE = { 16 Constants.DEVICE_TYPE = {
17 COMPUTER: 'computer',
17 HEADSET: 'headset', 18 HEADSET: 'headset',
18 KEYBOARD: 'keyboard', 19 KEYBOARD: 'keyboard',
19 MOUSE: 'mouse' 20 MOUSE: 'mouse',
21 PHONE: 'phone',
20 }; 22 };
21 23
22 /** 24 /**
23 * Enumeration of possible states for a bluetooth device. The value 25 * Enumeration of possible states for a bluetooth device. The value
24 * associated with each state maps to a localized string in the global 26 * associated with each state maps to a localized string in the global
25 * variable 'templateData'. 27 * variable 'templateData'.
26 * @enum {string} 28 * @enum {string}
27 */ 29 */
28 Constants.DEVICE_STATUS = { 30 Constants.DEVICE_STATUS = {
29 CONNECTED: 'bluetoothDeviceConnected', 31 CONNECTED: 'bluetoothDeviceConnected',
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 if (buttonsDiv) 187 if (buttonsDiv)
186 this.appendChild(buttonsDiv); 188 this.appendChild(buttonsDiv);
187 } 189 }
188 }; 190 };
189 191
190 return { 192 return {
191 Constants: Constants, 193 Constants: Constants,
192 BluetoothListElement: BluetoothListElement 194 BluetoothListElement: BluetoothListElement
193 }; 195 };
194 }); 196 });
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698