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

Side by Side Diff: chrome/browser/resources/md_extensions/item_util.js

Issue 2948443003: Run clang-format on .js files in c/b/r/md_extensions (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 // Closure compiler won't let this be declared inside cr.define(). 5 // Closure compiler won't let this be declared inside cr.define().
6 /** @enum {string} */ 6 /** @enum {string} */
7 var SourceType = { 7 var SourceType = {
8 WEBSTORE: 'webstore', 8 WEBSTORE: 'webstore',
9 POLICY: 'policy', 9 POLICY: 'policy',
10 SIDELOADED: 'sideloaded', 10 SIDELOADED: 'sideloaded',
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 if (view.incognito) 108 if (view.incognito)
109 label += ' ' + loadTimeData.getString('viewIncognito'); 109 label += ' ' + loadTimeData.getString('viewIncognito');
110 if (view.renderProcessId == -1) 110 if (view.renderProcessId == -1)
111 label += ' ' + loadTimeData.getString('viewInactive'); 111 label += ' ' + loadTimeData.getString('viewInactive');
112 if (view.isIframe) 112 if (view.isIframe)
113 label += ' ' + loadTimeData.getString('viewIframe'); 113 label += ' ' + loadTimeData.getString('viewIframe');
114 114
115 return label; 115 return label;
116 } 116 }
117 117
118 return {isEnabled: isEnabled, 118 return {
119 userCanChangeEnablement: userCanChangeEnablement, 119 isEnabled: isEnabled,
120 getItemSource: getItemSource, 120 userCanChangeEnablement: userCanChangeEnablement,
121 getItemSourceString: getItemSourceString, 121 getItemSource: getItemSource,
122 computeInspectableViewLabel: computeInspectableViewLabel}; 122 getItemSourceString: getItemSourceString,
123 computeInspectableViewLabel: computeInspectableViewLabel
124 };
123 }); 125 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698