OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 /** | 5 /** |
6 * @fileoverview | 6 * @fileoverview |
7 * 'Settings page for managing bluetooth properties and devices. This page | 7 * 'Settings page for managing bluetooth properties and devices. This page |
8 * just provodes a summary and link to the subpage. | 8 * just provodes a summary and link to the subpage. |
9 */ | 9 */ |
10 | 10 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 /** | 58 /** |
59 * The cached bluetooth adapter state. | 59 * The cached bluetooth adapter state. |
60 * @type {!chrome.bluetooth.AdapterState|undefined} | 60 * @type {!chrome.bluetooth.AdapterState|undefined} |
61 * @private | 61 * @private |
62 */ | 62 */ |
63 adapterState_: { | 63 adapterState_: { |
64 type: Object, | 64 type: Object, |
65 notify: true, | 65 notify: true, |
66 }, | 66 }, |
67 | 67 |
| 68 /** @private {!Map<string, string>} */ |
| 69 focusConfig_: { |
| 70 type: Object, |
| 71 value: function() { |
| 72 var map = new Map(); |
| 73 map.set( |
| 74 settings.Route.BLUETOOTH_DEVICES.path, |
| 75 '#bluetoothDevices .subpage-arrow'); |
| 76 return map; |
| 77 }, |
| 78 }, |
| 79 |
68 /** | 80 /** |
69 * Interface for bluetooth calls. May be overriden by tests. | 81 * Interface for bluetooth calls. May be overriden by tests. |
70 * @type {Bluetooth} | 82 * @type {Bluetooth} |
71 * @private | 83 * @private |
72 */ | 84 */ |
73 bluetooth: { | 85 bluetooth: { |
74 type: Object, | 86 type: Object, |
75 value: chrome.bluetooth, | 87 value: chrome.bluetooth, |
76 }, | 88 }, |
77 | 89 |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 chrome.runtime.lastError.message); | 208 chrome.runtime.lastError.message); |
197 } | 209 } |
198 }); | 210 }); |
199 }, | 211 }, |
200 | 212 |
201 /** @private */ | 213 /** @private */ |
202 openSubpage_: function() { | 214 openSubpage_: function() { |
203 settings.navigateTo(settings.Route.BLUETOOTH_DEVICES); | 215 settings.navigateTo(settings.Route.BLUETOOTH_DEVICES); |
204 } | 216 } |
205 }); | 217 }); |
OLD | NEW |