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

Side by Side Diff: chrome/browser/resources/chromeos/login/oobe_voice_interaction_value_prop.js

Issue 2944703004: Run clang-format on .js files in c/b/r/chromeos (Closed)
Patch Set: 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 material design voice 6 * @fileoverview Polymer element for displaying material design voice
7 * interaction value prop screen. 7 * interaction value prop screen.
8 */ 8 */
9 9
10 Polymer({ 10 Polymer({
11 is: 'voice-interaction-value-prop-md', 11 is: 'voice-interaction-value-prop-md',
12 12
13 /** 13 /**
14 * Returns element by its id. 14 * Returns element by its id.
15 */ 15 */
16 getElement: function(id) { 16 getElement: function(id) {
17 return this.$[id]; 17 return this.$[id];
18 }, 18 },
19 19
20 /** 20 /**
21 * On-tap event handler for no thanks button. 21 * On-tap event handler for no thanks button.
22 * 22 *
23 * @private 23 * @private
24 */ 24 */
25 onNoThanksTap_: function() { 25 onNoThanksTap_: function() {
26 chrome.send('login.VoiceInteractionValuePropScreen.userActed', 26 chrome.send(
27 'login.VoiceInteractionValuePropScreen.userActed',
27 ['no-thanks-pressed']); 28 ['no-thanks-pressed']);
28 }, 29 },
29 30
30 /** 31 /**
31 * On-tap event handler for continue button. 32 * On-tap event handler for continue button.
32 * 33 *
33 * @private 34 * @private
34 */ 35 */
35 onContinueTap_: function() { 36 onContinueTap_: function() {
36 chrome.send('login.VoiceInteractionValuePropScreen.userActed', 37 chrome.send(
38 'login.VoiceInteractionValuePropScreen.userActed',
37 ['continue-pressed']); 39 ['continue-pressed']);
38 }, 40 },
39 }); 41 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698