Index: chrome/browser/resources/polymer_flags/flags_table.js |
diff --git a/chrome/browser/resources/polymer_flags/flags_table.js b/chrome/browser/resources/polymer_flags/flags_table.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2d85275c17fd17d629d1bf8f19a0a37b52ea949b |
--- /dev/null |
+++ b/chrome/browser/resources/polymer_flags/flags_table.js |
@@ -0,0 +1,29 @@ |
+// 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-table' displays the list of flags. |
+ */ |
+Polymer({ |
+ is: 'cr-flags-table', |
+ |
+ properties: { |
+ /** |
+ * The set of flags. |
+ * @type !Array<!CrFlag> |
+ */ |
+ flags: { |
+ type: Array, |
+ value: function() { return []; }, |
+ }, |
+ }, |
+ |
+ observers: [ |
+ 'flagsChanged_(flags.*)', |
michaelpg
2015/07/07 19:31:51
I must be missing something obvious, but isn't thi
|
+ ], |
+ |
+ flagsChanged_: function(e) { |
+ console.log(e); |
+ }, |
+}); |