1<!DOCTYPE html>
2<!--
3Copyright (c) 2016 The Chromium Authors. All rights reserved.
4Use of this source code is governed by a BSD-style license that can be
5found in the LICENSE file.
6-->
7
8<link rel="import" href="/tracing/model/object_instance.html">
9
10<script>
11'use strict';
12
13tr.exportTo('tr.e.chrome', function() {
14  var constants = tr.e.cc.constants;
15
16  var ObjectSnapshot = tr.model.ObjectSnapshot;
17  var ObjectInstance = tr.model.ObjectInstance;
18
19  function FrameTreeNodeSnapshot() {
20    ObjectSnapshot.apply(this, arguments);
21  }
22
23  FrameTreeNodeSnapshot.prototype = {
24    __proto__: ObjectSnapshot.prototype,
25
26    preInitialize: function() {
27    },
28
29    initialize: function() {
30    },
31
32    get userFriendlyName() {
33      return 'FrameTreeNode';
34    }
35  };
36
37  ObjectSnapshot.register(
38      FrameTreeNodeSnapshot,
39      {typeName: 'FrameTreeNode'});
40
41  function FrameTreeNodeInstance() {
42    ObjectInstance.apply(this, arguments);
43  }
44
45  FrameTreeNodeInstance.prototype = {
46    __proto__: ObjectInstance.prototype
47  };
48
49  ObjectInstance.register(
50      FrameTreeNodeInstance,
51      {typeName: 'FrameTreeNode'});
52
53  return {
54    FrameTreeNodeSnapshot: FrameTreeNodeSnapshot,
55    FrameTreeNodeInstance: FrameTreeNodeInstance
56  };
57});
58</script>
59