| <!DOCTYPE html> |
| <!-- |
| Copyright (c) 2014 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. |
| --> |
| <link rel="import" href="/core/analysis/generic_object_view.html"> |
| |
| <polymer-element name="tr-c-a-stack-frame"> |
| <template> |
| <style> |
| :host { |
| display: flex; |
| flex-direction: row; |
| align-items: center; |
| } |
| </style> |
| <tr-c-a-generic-object-view id="ov"> |
| </tr-c-a-generic-object-view> |
| </template> |
| <script> |
| 'use strict'; |
| |
| Polymer({ |
| ready: function() { |
| this.stackFrame_ = undefined; |
| }, |
| |
| get stackFrame() { |
| return this.stackFrame_; |
| }, |
| |
| set stackFrame(stackFrame) { |
| this.stackFrame_ = stackFrame; |
| this.$.ov.object = stackFrame.getUserFriendlyStackTrace(); |
| } |
| }); |
| </script> |
| </polymer-element> |