Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <link rel="import" href="../../../../packages/polymer/polymer.html"> | 1 <link rel="import" href="../../../../packages/polymer/polymer.html"> |
| 2 <link rel="import" href="observatory_element.html"> | 2 <link rel="import" href="observatory_element.html"> |
| 3 | 3 |
| 4 <polymer-element name="icon-refresh" noscript> | 4 <polymer-element name="icon-refresh" noscript> |
| 5 <template> | 5 <template> |
| 6 <style> | 6 <style> |
| 7 svg { | 7 svg { |
| 8 fill: currentColor | 8 fill: currentColor |
| 9 } | 9 } |
| 10 </style> | 10 </style> |
| 11 <svg width="24" height="24"> | 11 <svg width="24" height="24"> |
| 12 <path d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s 2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"/> | 12 <path d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s 2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"/> |
| 13 </svg> | 13 </svg> |
| 14 </template> | 14 </template> |
| 15 </polymer-element> | 15 </polymer-element> |
| 16 | 16 |
| 17 <polymer-element name="icon-timer" noscript> | |
| 18 <template> | |
| 19 <style> | |
| 20 svg { | |
| 21 fill: currentColor | |
| 22 } | |
| 23 </style> | |
| 24 <svg width="24" height="24"> | |
| 25 <path d="M15 1H9v2h6V1zm-4 13h2V8h-2v6zm8.03-6.61l1.42-1.42c-.43-.51-.9-.9 9-1.41-1.41l-1.42 1.42C16.07 4.74 14.12 4 12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9 9-4 .03 9-9c0-2.12-.74-4.07-1.97-5.61zM12 20c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z"></path> | |
| 26 </svg> | |
| 27 </template> | |
| 28 </polymer-element> | |
|
turnidge
2016/03/14 19:34:32
Remove icon-timer?
| |
| 29 | |
| 30 <polymer-element name="icon-whatshot" noscript> | |
| 31 <template> | |
| 32 <style> | |
| 33 svg { | |
| 34 fill: currentColor | |
| 35 } | |
| 36 </style> | |
| 37 <svg width="24" height="24"> | |
| 38 <path d="M13.5.67s.74 2.65.74 4.8c0 2.06-1.35 3.73-3.41 3.73-2.07 0-3.63-1 .67-3.63-3.73l.03-.36C5.21 7.51 4 10.62 4 14c0 4.42 3.58 8 8 8s8-3.58 8-8C20 8.6 1 17.41 3.8 13.5.67zM11.71 19c-1.78 0-3.22-1.4-3.22-3.14 0-1.62 1.05-2.76 2.81-3 .12 1.77-.36 3.6-1.21 4.62-2.58.39 1.29.59 2.65.59 4.04 0 2.65-2.15 4.8-4.8 4.8z "></path> | |
| 39 </svg> | |
| 40 </template> | |
| 41 </polymer-element> | |
| 42 | |
| 17 <polymer-element name="script-inset" extends="observatory-element"> | 43 <polymer-element name="script-inset" extends="observatory-element"> |
| 18 <template> | 44 <template> |
| 19 <style> | 45 <style> |
| 20 a { | 46 a { |
| 21 color: #0489c3; | 47 color: #0489c3; |
| 22 text-decoration: none; | 48 text-decoration: none; |
| 23 } | 49 } |
| 24 a:hover { | 50 a:hover { |
| 25 text-decoration: underline; | 51 text-decoration: underline; |
| 26 } | 52 } |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 109 background-color: #e66; | 135 background-color: #e66; |
| 110 } | 136 } |
| 111 .unresolvedBreakAnnotation { | 137 .unresolvedBreakAnnotation { |
| 112 color: white; | 138 color: white; |
| 113 background-color: #cac; | 139 background-color: #cac; |
| 114 } | 140 } |
| 115 .resolvedBreakAnnotation { | 141 .resolvedBreakAnnotation { |
| 116 color: white; | 142 color: white; |
| 117 background-color: #e66; | 143 background-color: #e66; |
| 118 } | 144 } |
| 145 .notSourceProfile, .noProfile, .coldProfile, .mediumProfile, .hotProfile { | |
| 146 display: table-cell; | |
| 147 vertical-align: top; | |
| 148 font: 400 14px consolas, courier, monospace; | |
| 149 width: 4em; | |
| 150 text-align: right; | |
| 151 cursor: pointer; | |
| 152 margin-left: 5px; | |
| 153 margin-right: 5px; | |
| 154 } | |
| 155 .notSourceProfile { | |
| 156 } | |
| 157 .noProfile { | |
| 158 background-color: #e0e0e0; | |
| 159 } | |
| 160 .coldProfile { | |
| 161 background-color: #aea; | |
| 162 } | |
| 163 .mediumProfile { | |
| 164 background-color: #fe9; | |
| 165 } | |
| 166 .hotProfile { | |
| 167 background-color: #faa; | |
| 168 } | |
| 119 </style> | 169 </style> |
| 120 </template> | 170 </template> |
| 121 </polymer-element> | 171 </polymer-element> |
| 122 | 172 |
| 123 <polymer-element name="refresh-button"> | 173 <polymer-element name="refresh-button"> |
| 124 <template> | 174 <template> |
| 125 <style> | 175 <style> |
| 126 .refreshButton { | 176 .refreshButton { |
| 127 color: rgba(0,0,0,.3); | 177 color: rgba(0,0,0,.3); |
| 128 } | 178 } |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 141 </template> | 191 </template> |
| 142 <template if="{{ !busy }}"> | 192 <template if="{{ !busy }}"> |
| 143 <a on-click="{{ buttonClick }}"> | 193 <a on-click="{{ buttonClick }}"> |
| 144 <icon-refresh id="refreshIcon" class="refreshButton"></icon-refresh> | 194 <icon-refresh id="refreshIcon" class="refreshButton"></icon-refresh> |
| 145 </a> | 195 </a> |
| 146 </template> | 196 </template> |
| 147 </template> | 197 </template> |
| 148 </template> | 198 </template> |
| 149 </polymer-element> | 199 </polymer-element> |
| 150 | 200 |
| 201 <polymer-element name="toggle-button"> | |
| 202 <template> | |
| 203 <style> | |
| 204 </style> | |
| 205 <template if="{{ callback != null }}"> | |
| 206 <template if="{{ enabled }}"> | |
| 207 <a on-click="{{ buttonClick }}"> | |
| 208 <content></content> | |
| 209 </a> | |
| 210 </template> | |
| 211 <template if="{{ !enabled }}"> | |
| 212 <a on-click="{{ buttonClick }}"> | |
| 213 <content></content> | |
| 214 </a> | |
| 215 </template> | |
| 216 </template> | |
| 217 </template> | |
| 218 </polymer-element> | |
| 219 | |
| 151 <polymer-element name="source-inset"> | 220 <polymer-element name="source-inset"> |
| 152 <template> | 221 <template> |
| 153 <template if="{{ location != null }}"> | 222 <template if="{{ location != null }}"> |
| 154 <script-inset script="{{ location.script }}" | 223 <script-inset script="{{ location.script }}" |
| 155 startPos="{{ location.tokenPos }}" | 224 startPos="{{ location.tokenPos }}" |
| 156 scroller="{{ scroller }}" | 225 scroller="{{ scroller }}" |
| 157 endPos="{{ location.endTokenPos }}" | 226 endPos="{{ location.endTokenPos }}" |
| 158 height="{{ height }}" | 227 height="{{ height }}" |
| 159 currentPos="{{ currentPos }}" | 228 currentPos="{{ currentPos }}" |
| 160 inDebuggerContext="{{ inDebuggerContext }}" | 229 inDebuggerContext="{{ inDebuggerContext }}" |
| 161 variables="{{ variables }}"> | 230 variables="{{ variables }}"> |
| 162 </script-inset> | 231 </script-inset> |
| 163 </template> | 232 </template> |
| 164 </template> | 233 </template> |
| 165 </polymer-element> | 234 </polymer-element> |
| 166 | 235 |
| 167 <script type="application/dart" src="script_inset.dart"></script> | 236 <script type="application/dart" src="script_inset.dart"></script> |
| OLD | NEW |