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

Side by Side Diff: ui/webui/resources/js/cr/ui/controlled_indicator.js

Issue 2597013002: Run clang-format on ui/webui/resources (Closed)
Patch Set: remove cr_shared_menu.js Created 3 years, 12 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 cr.define('cr.ui', function() { 5 cr.define('cr.ui', function() {
6 /** @const */ var BubbleButton = cr.ui.BubbleButton; 6 /** @const */ var BubbleButton = cr.ui.BubbleButton;
7 7
8 /** 8 /**
9 * An indicator that can be placed on a UI element as a hint to the user that 9 * An indicator that can be placed on a UI element as a hint to the user that
10 * the value is controlled by some external entity such as policy or an 10 * the value is controlled by some external entity such as policy or an
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 * - 'recommended': A value is recommended by policy. The user could 110 * - 'recommended': A value is recommended by policy. The user could
111 * override this recommendation but has not done so. 111 * override this recommendation but has not done so.
112 * - 'hasRecommendation': A value is recommended by policy. The user has 112 * - 'hasRecommendation': A value is recommended by policy. The user has
113 * overridden this recommendation. 113 * overridden this recommendation.
114 * - 'owner': A value is controlled by the owner of the device 114 * - 'owner': A value is controlled by the owner of the device
115 * (Chrome OS only). 115 * (Chrome OS only).
116 * - 'shared': A value belongs to the primary user but can be 116 * - 'shared': A value belongs to the primary user but can be
117 * modified (Chrome OS only). 117 * modified (Chrome OS only).
118 * - unset: The value is controlled by the user alone. 118 * - unset: The value is controlled by the user alone.
119 */ 119 */
120 cr.defineProperty(ControlledIndicator, 'controlledBy', 120 cr.defineProperty(ControlledIndicator, 'controlledBy', cr.PropertyKind.ATTR);
121 cr.PropertyKind.ATTR);
122 121
123 return { 122 return {ControlledIndicator: ControlledIndicator};
124 ControlledIndicator: ControlledIndicator
125 };
126 }); 123 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698