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

Unified Diff: tools/turbolizer/empty-view.js

Issue 729913004: Add a html-based visualizer for TurboFan graphs (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Review feedback Created 4 years, 7 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 | « tools/turbolizer/edge.js ('k') | tools/turbolizer/expand-all.jpg » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/turbolizer/empty-view.js
diff --git a/tools/turbolizer/empty-view.js b/tools/turbolizer/empty-view.js
new file mode 100644
index 0000000000000000000000000000000000000000..66caf59d8f66a702027289f2a5cfc84c6019bd56
--- /dev/null
+++ b/tools/turbolizer/empty-view.js
@@ -0,0 +1,19 @@
+// Copyright 2015 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+"use strict";
+
+class EmptyView extends View {
+ constructor(id, broker) {
+ super(id, broker);
+ this.svg = this.divElement.append("svg").attr('version','1.1').attr("width", "100%");
+ }
+
+ initializeContent(data, rememberedSelection) {
+ this.svg.attr("height", document.documentElement.clientHeight + "px");
+ }
+
+ deleteContent() {
+ }
+}
« no previous file with comments | « tools/turbolizer/edge.js ('k') | tools/turbolizer/expand-all.jpg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698