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

Unified Diff: chrome/browser/resources/polymer_flags/flags_table.js

Issue 1223793018: Fake MD Flags sample WebUI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
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);
+ },
+});

Powered by Google App Engine
This is Rietveld 408576698