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

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: rebase Created 9 years, 2 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) 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',
Yufeng Shen (Slow to review) 2011/10/20 22:19:26 can't apply cleanly the , in the " MOUSE: 'mouse',
Vince Laviano 2011/10/20 22:30:36 The , needs to be there to separate the MOUSE enum
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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 } 153 }
152 }; 154 };
153 155
154 return { 156 return {
155 Constants: Constants, 157 Constants: Constants,
156 BluetoothListElement: BluetoothListElement 158 BluetoothListElement: BluetoothListElement
157 }; 159 };
158 }); 160 });
159 161
160 162
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/dbus/dbus_thread_manager.cc ('k') | chrome/browser/ui/webui/options/chromeos/system_options_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698