Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(620)

Unified Diff: tracing/tracing/extras/chrome/render_frame.html

Issue 1736373002: FrameTreeNode, RenderFrame ObjectSnapshot/Instance skeletons (Closed) Base URL: https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git@master
Patch Set: rebase Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tracing/tracing/extras/chrome/frame_tree_node.html ('k') | tracing/tracing/extras/chrome_config.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/extras/chrome/render_frame.html
diff --git a/tracing/tracing/extras/chrome/render_frame.html b/tracing/tracing/extras/chrome/render_frame.html
new file mode 100644
index 0000000000000000000000000000000000000000..289477d18adf50c97f02dda62438efb67115df4d
--- /dev/null
+++ b/tracing/tracing/extras/chrome/render_frame.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 RenderFrameSnapshot() {
+ ObjectSnapshot.apply(this, arguments);
+ }
+
+ RenderFrameSnapshot.prototype = {
+ __proto__: ObjectSnapshot.prototype,
+
+ preInitialize: function() {
+ },
+
+ initialize: function() {
+ },
+
+ get userFriendlyName() {
+ return 'RenderFrame';
+ }
+ };
+
+ ObjectSnapshot.register(
+ RenderFrameSnapshot,
+ {typeName: 'RenderFrame'});
+
+ function RenderFrameInstance() {
+ ObjectInstance.apply(this, arguments);
+ }
+
+ RenderFrameInstance.prototype = {
+ __proto__: ObjectInstance.prototype
+ };
+
+ ObjectInstance.register(
+ RenderFrameInstance,
+ {typeName: 'RenderFrame'});
+
+ return {
+ RenderFrameSnapshot: RenderFrameSnapshot,
+ RenderFrameInstance: RenderFrameInstance
+ };
+});
+</script>
« no previous file with comments | « tracing/tracing/extras/chrome/frame_tree_node.html ('k') | tracing/tracing/extras/chrome_config.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698