Chromium Code Reviews| Index: runtime/observatory/lib/src/elements/script_inset.html |
| diff --git a/runtime/observatory/lib/src/elements/script_inset.html b/runtime/observatory/lib/src/elements/script_inset.html |
| index 92d294028d5e80eb1c17f7e218721619a0b67987..44198731ae096a891aac0f192ec16c6859db7ce4 100644 |
| --- a/runtime/observatory/lib/src/elements/script_inset.html |
| +++ b/runtime/observatory/lib/src/elements/script_inset.html |
| @@ -14,6 +14,32 @@ |
| </template> |
| </polymer-element> |
| +<polymer-element name="icon-timer" noscript> |
| + <template> |
| + <style> |
| + svg { |
| + fill: currentColor |
| + } |
| + </style> |
| + <svg width="24" height="24"> |
| + <path d="M15 1H9v2h6V1zm-4 13h2V8h-2v6zm8.03-6.61l1.42-1.42c-.43-.51-.9-.99-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> |
| + </svg> |
| + </template> |
| +</polymer-element> |
|
turnidge
2016/03/14 19:34:32
Remove icon-timer?
|
| + |
| +<polymer-element name="icon-whatshot" noscript> |
| + <template> |
| + <style> |
| + svg { |
| + fill: currentColor |
| + } |
| + </style> |
| + <svg width="24" height="24"> |
| + <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.61 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> |
| + </svg> |
| + </template> |
| +</polymer-element> |
| + |
| <polymer-element name="script-inset" extends="observatory-element"> |
| <template> |
| <style> |
| @@ -116,6 +142,30 @@ |
| color: white; |
| background-color: #e66; |
| } |
| + .notSourceProfile, .noProfile, .coldProfile, .mediumProfile, .hotProfile { |
| + display: table-cell; |
| + vertical-align: top; |
| + font: 400 14px consolas, courier, monospace; |
| + width: 4em; |
| + text-align: right; |
| + cursor: pointer; |
| + margin-left: 5px; |
| + margin-right: 5px; |
| + } |
| + .notSourceProfile { |
| + } |
| + .noProfile { |
| + background-color: #e0e0e0; |
| + } |
| + .coldProfile { |
| + background-color: #aea; |
| + } |
| + .mediumProfile { |
| + background-color: #fe9; |
| + } |
| + .hotProfile { |
| + background-color: #faa; |
| + } |
| </style> |
| </template> |
| </polymer-element> |
| @@ -148,6 +198,25 @@ |
| </template> |
| </polymer-element> |
| +<polymer-element name="toggle-button"> |
| + <template> |
| + <style> |
| + </style> |
| + <template if="{{ callback != null }}"> |
| + <template if="{{ enabled }}"> |
| + <a on-click="{{ buttonClick }}"> |
| + <content></content> |
| + </a> |
| + </template> |
| + <template if="{{ !enabled }}"> |
| + <a on-click="{{ buttonClick }}"> |
| + <content></content> |
| + </a> |
| + </template> |
| + </template> |
| + </template> |
| +</polymer-element> |
| + |
| <polymer-element name="source-inset"> |
| <template> |
| <template if="{{ location != null }}"> |