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

Unified Diff: fuzzer/res/imp/fuzzer-summary-list-sk.html

Issue 1413233007: Add fuzzer-collapse-file-sk and fuzzer-summary-list-sk (Closed) Base URL: https://skia.googlesource.com/buildbot@file-function
Patch Set: Address comments Created 5 years, 1 month 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
« no previous file with comments | « fuzzer/res/imp/fuzzer-collapse-function-sk.html ('k') | fuzzer/res/imp/fuzzer-summary-list-sk-demo.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fuzzer/res/imp/fuzzer-summary-list-sk.html
diff --git a/fuzzer/res/imp/fuzzer-summary-list-sk.html b/fuzzer/res/imp/fuzzer-summary-list-sk.html
new file mode 100644
index 0000000000000000000000000000000000000000..2c2975dc98603ea06a012c4d1349e62b05cc99ff
--- /dev/null
+++ b/fuzzer/res/imp/fuzzer-summary-list-sk.html
@@ -0,0 +1,54 @@
+<!--
+ The common.js file must be included before this file.
+
+ This in an HTML Import-able file that contains the definition
+ of the following elements:
+
+ <fuzzer-summary-list-sk>
+
+ This element will request once from /json/fuzz-list for the fuzz contents to display, which will be an array of FileDetails.
+ See fuzzer-collapse-file-sk.html for more information.
+
+ To use this file import it:
+
+ <link href="/res/imp/fuzzer-summary-list-sk.html" rel="import" />
+
+ Usage:
+
+ <fuzzer-summary-list-sk></fuzzer-summary-list-sk>
+
+ Properties:
+ None.
+
+ Methods:
+ None.
+
+ Events:
+ None.
+-->
+<dom-module id="fuzzer-summary-list-sk">
+ <template>
+ <template is="dom-repeat" items="{{fileDetails}}" as="file">
+ <fuzzer-collapse-file-sk file="{{file}}"></fuzzer-collapse-file-sk>
+ </template>
+ </template>
+ <script>
+ Polymer({
+ is: 'fuzzer-summary-list-sk',
+
+ properties: {
+ fileDetails: {
+ type: Array,
+ value: function() {
+ return [];
+ },
+ readOnly: true, //generates _setFileDetails
+ },
+ },
+
+ ready: function() {
+ sk.get("/json/fuzz-list").then(JSON.parse).then(this._setFileDetails.bind(this));
+ }
+ });
+ </script>
+</dom-module>
« no previous file with comments | « fuzzer/res/imp/fuzzer-collapse-function-sk.html ('k') | fuzzer/res/imp/fuzzer-summary-list-sk-demo.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698