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

Side by Side Diff: chrome/browser/resources/settings/bluetooth_page/bluetooth_device_list_item.js

Issue 2946563002: Run clang-format on .js files in c/b/r/settings (Closed)
Patch Set: dschuyler@ review 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 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 Polymer element for displaying a bluetooth device in a list. 6 * @fileoverview Polymer element for displaying a bluetooth device in a list.
7 */ 7 */
8 8
9 Polymer({ 9 Polymer({
10 is: 'bluetooth-device-list-item', 10 is: 'bluetooth-device-list-item',
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 case 'gamepad': 124 case 'gamepad':
125 return 'settings:gamepad'; 125 return 'settings:gamepad';
126 case 'keyboard': 126 case 'keyboard':
127 case 'keyboardMouseCombo': 127 case 'keyboardMouseCombo':
128 return 'settings:keyboard'; 128 return 'settings:keyboard';
129 case 'tablet': 129 case 'tablet':
130 return 'settings:tablet'; 130 return 'settings:tablet';
131 case 'mouse': 131 case 'mouse':
132 return 'settings:mouse'; 132 return 'settings:mouse';
133 default: 133 default:
134 return device.connected ? 134 return device.connected ? 'settings:bluetooth-connected' :
135 'settings:bluetooth-connected' : 'settings:bluetooth'; 135 'settings:bluetooth';
136 } 136 }
137 }, 137 },
138 }); 138 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698