| Index: tracing/tracing/extras/chrome/frame_tree_node.html
|
| diff --git a/tracing/tracing/extras/chrome/frame_tree_node.html b/tracing/tracing/extras/chrome/frame_tree_node.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..dde8fc28d1f8bc6a061fa07169cf7f27660fe872
|
| --- /dev/null
|
| +++ b/tracing/tracing/extras/chrome/frame_tree_node.html
|
| @@ -0,0 +1,58 @@
|
| +<!DOCTYPE html>
|
| +<!--
|
| +Copyright (c) 2016 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="/tracing/model/object_instance.html">
|
| +
|
| +<script>
|
| +'use strict';
|
| +
|
| +tr.exportTo('tr.e.chrome', function() {
|
| + var constants = tr.e.cc.constants;
|
| +
|
| + var ObjectSnapshot = tr.model.ObjectSnapshot;
|
| + var ObjectInstance = tr.model.ObjectInstance;
|
| +
|
| + function FrameTreeNodeSnapshot() {
|
| + ObjectSnapshot.apply(this, arguments);
|
| + }
|
| +
|
| + FrameTreeNodeSnapshot.prototype = {
|
| + __proto__: ObjectSnapshot.prototype,
|
| +
|
| + preInitialize: function() {
|
| + },
|
| +
|
| + initialize: function() {
|
| + },
|
| +
|
| + get userFriendlyName() {
|
| + return 'FrameTreeNode';
|
| + }
|
| + };
|
| +
|
| + ObjectSnapshot.register(
|
| + FrameTreeNodeSnapshot,
|
| + {typeName: 'FrameTreeNode'});
|
| +
|
| + function FrameTreeNodeInstance() {
|
| + ObjectInstance.apply(this, arguments);
|
| + }
|
| +
|
| + FrameTreeNodeInstance.prototype = {
|
| + __proto__: ObjectInstance.prototype
|
| + };
|
| +
|
| + ObjectInstance.register(
|
| + FrameTreeNodeInstance,
|
| + {typeName: 'FrameTreeNode'});
|
| +
|
| + return {
|
| + FrameTreeNodeSnapshot: FrameTreeNodeSnapshot,
|
| + FrameTreeNodeInstance: FrameTreeNodeInstance
|
| + };
|
| +});
|
| +</script>
|
|
|