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

Side by Side Diff: components/chrome_apps/webstore_widget/cws_widget/cws_widget_container.js

Issue 1150173003: Fix some JS style nits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 7 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 * CWSWidgetContainer contains a Chrome Web Store widget that displays list of 6 * CWSWidgetContainer contains a Chrome Web Store widget that displays list of
7 * apps that satisfy certain constraints (e.g. fileHandler apps that can handle 7 * apps that satisfy certain constraints (e.g. fileHandler apps that can handle
8 * files with specific file extension or MIME type) and enables the user to 8 * files with specific file extension or MIME type) and enables the user to
9 * install apps directly from it. 9 * install apps directly from it.
10 * CWSWidgetContainer implements client side of the widget, which handles 10 * CWSWidgetContainer implements client side of the widget, which handles
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 /** 155 /**
156 * The Chrome Web Store widget origin. 156 * The Chrome Web Store widget origin.
157 * @const {string} 157 * @const {string}
158 * @private 158 * @private
159 */ 159 */
160 this.widgetOrigin_ = params.overrideCwsContainerOriginForTest || 160 this.widgetOrigin_ = params.overrideCwsContainerOriginForTest ||
161 CWS_WIDGET_ORIGIN; 161 CWS_WIDGET_ORIGIN;
162 162
163 /** 163 /**
164 * Map of options for the widget. 164 * Map of options for the widget.
165 * @type {?Object.<string, *>} 165 * @type {?Object<string, *>}
166 * @private 166 * @private
167 */ 167 */
168 this.options_ = null; 168 this.options_ = null;
169 169
170 /** 170 /**
171 * The ID of the item being installed. Null if no items are being installed. 171 * The ID of the item being installed. Null if no items are being installed.
172 * @type {?string} 172 * @type {?string}
173 * @private 173 * @private
174 */ 174 */
175 this.installingItemId_ = null; 175 this.installingItemId_ = null;
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after
935 this.metricsImpl_.recordUserAction('SuggestApps.ShowDialog'); 935 this.metricsImpl_.recordUserAction('SuggestApps.ShowDialog');
936 }; 936 };
937 937
938 CWSWidgetContainer.MetricsRecorder.prototype.startLoad = function() { 938 CWSWidgetContainer.MetricsRecorder.prototype.startLoad = function() {
939 this.metricsImpl_.startInterval('SuggestApps.LoadTime'); 939 this.metricsImpl_.startInterval('SuggestApps.LoadTime');
940 }; 940 };
941 941
942 CWSWidgetContainer.MetricsRecorder.prototype.finishLoad = function() { 942 CWSWidgetContainer.MetricsRecorder.prototype.finishLoad = function() {
943 this.metricsImpl_.recordInterval('SuggestApps.LoadTime'); 943 this.metricsImpl_.recordInterval('SuggestApps.LoadTime');
944 }; 944 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698