| Index: chrome/browser/resources/polymer_flags/flag.js
|
| diff --git a/chrome/browser/resources/polymer_flags/flag.js b/chrome/browser/resources/polymer_flags/flag.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9bbde346497074ecbe5c3f2884fdd1ea697ddd95
|
| --- /dev/null
|
| +++ b/chrome/browser/resources/polymer_flags/flag.js
|
| @@ -0,0 +1,43 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +/**
|
| + * @fileoverview 'cr-flags' displays information about a flag and provides
|
| + * a toggle switch to enable or disable the flag.
|
| + */
|
| +Polymer({
|
| + is: 'cr-flag',
|
| +
|
| + properties: {
|
| + /**
|
| + * The flag ID.
|
| + */
|
| + flagId: {
|
| + type: String,
|
| + },
|
| +
|
| + /**
|
| + * The flag display name.
|
| + */
|
| + displayName: {
|
| + type: String,
|
| + },
|
| +
|
| + /**
|
| + * The flag description.
|
| + */
|
| + description: {
|
| + type: String,
|
| + },
|
| +
|
| + /**
|
| + * Whether the flag is enabled.
|
| + */
|
| + enabled: {
|
| + type: Boolean,
|
| + value: false,
|
| + notify: true,
|
| + },
|
| + },
|
| +});
|
|
|