Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!-- | 1 <!-- |
| 2 The common.js file must be included before this file. | 2 The common.js file must be included before this file. |
| 3 | 3 |
| 4 This in an HTML Import-able file that contains the definition | 4 This in an HTML Import-able file that contains the definition |
| 5 of the following elements: | 5 of the following elements: |
| 6 | 6 |
| 7 <fuzzer-collapse-details-sk> | 7 <fuzzer-collapse-details-sk> |
| 8 | 8 |
| 9 To use this file import it: | 9 To use this file import it: |
| 10 | 10 |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 33 setDetails(details) - Programmatically set the details object. | 33 setDetails(details) - Programmatically set the details object. |
| 34 showMore() - Programmatically show up to 6 more details panels. | 34 showMore() - Programmatically show up to 6 more details panels. |
| 35 showFewer() - Programmatically show up to 6 fewer details panels. | 35 showFewer() - Programmatically show up to 6 fewer details panels. |
| 36 toggleDetails() - Programmticaly hide/show the details panels. | 36 toggleDetails() - Programmticaly hide/show the details panels. |
| 37 | 37 |
| 38 Events: | 38 Events: |
| 39 None. | 39 None. |
| 40 --> | 40 --> |
| 41 <link rel="import" href="/res/imp/bower_components/iron-flex-layout/iron-flex-la yout.html"> | 41 <link rel="import" href="/res/imp/bower_components/iron-flex-layout/iron-flex-la yout.html"> |
| 42 <link rel="import" href="/res/imp/bower_components/iron-collapse/iron-collapse.h tml"> | 42 <link rel="import" href="/res/imp/bower_components/iron-collapse/iron-collapse.h tml"> |
| 43 <link rel="import" href="/res/imp/bower_components/iron-icons/iron-icons.html"> | |
| 43 <link rel="import" href="/res/imp/bower_components/paper-button/paper-button.htm l"> | 44 <link rel="import" href="/res/imp/bower_components/paper-button/paper-button.htm l"> |
| 44 <link rel="import" href="fuzzer-stacktrace-sk.html"> | |
|
jcgregorio
2015/11/06 18:48:49
Every element should import its dependencies, so d
| |
| 45 <dom-module id="fuzzer-collapse-details-sk"> | 45 <dom-module id="fuzzer-collapse-details-sk"> |
| 46 <template> | 46 <template> |
| 47 <style> | 47 <style> |
| 48 #wrapper { | 48 #wrapper { |
| 49 padding: 16px; | 49 padding: 16px; |
| 50 border-radius: 8px; | 50 border-radius: 8px; |
| 51 background-color: #DEDEDE; | 51 background-color: #DEDEDE; |
| 52 color: #000000; | 52 color: #000000; |
| 53 } | 53 } |
| 54 | 54 |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 247 return "/dump/" + type + "/" + report.binaryName; | 247 return "/dump/" + type + "/" + report.binaryName; |
| 248 }, | 248 }, |
| 249 | 249 |
| 250 toggleDetails: function() { | 250 toggleDetails: function() { |
| 251 this.$$("#detailsPanel").toggle(); | 251 this.$$("#detailsPanel").toggle(); |
| 252 this.$$("#indicator").toggleClass("toggled"); | 252 this.$$("#indicator").toggleClass("toggled"); |
| 253 } | 253 } |
| 254 }); | 254 }); |
| 255 </script> | 255 </script> |
| 256 </dom-module> | 256 </dom-module> |
| OLD | NEW |