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

Side by Side Diff: tools/deep_memory_profiler/visualizer/index.html

Issue 23781012: Upload file to app engine and generate public url for dmprof visualizer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix review problems Created 7 years, 2 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright 2013 The Chromium Authors. All rights reserved. 3 Copyright 2013 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 5 found in the LICENSE file.
6 --> 6 -->
7 <meta charset="utf-8"> 7 <meta charset="utf-8">
8 <link rel="stylesheet" href="static/index.css"> 8 <link rel="stylesheet" href="static/index.css">
9 <link rel="stylesheet" href="static/third_party/jqTree/jqtree.css"> 9 <link rel="stylesheet" href="static/third_party/jqTree/jqtree.css">
10 10
11 <script src="static/third_party/flot/jquery.min.js"></script> 11 <script src="static/third_party/flot/jquery.min.js"></script>
12 <script src="static/third_party/flot/jquery.flot.min.js"></script> 12 <script src="static/third_party/flot/jquery.flot.min.js"></script>
13 <script src="static/third_party/flot/jquery.flot.stack.min.js"></script> 13 <script src="static/third_party/flot/jquery.flot.stack.min.js"></script>
14 <script src="static/third_party/jqTree/tree.jquery.js"></script> 14 <script src="static/third_party/jqTree/tree.jquery.js"></script>
15 <script src="static/utility.js"></script> 15 <script src="static/utility.js"></script>
16 <script src="static/profiler.js"></script> 16 <script src="static/profiler.js"></script>
17 <script src="static/graph-view.js"></script> 17 <script src="static/graph-view.js"></script>
18 <script src="static/dropdown-view.js"></script> 18 <script src="static/dropdown-view.js"></script>
19 <script src="static/menu-view.js"></script> 19 <script src="static/menu-view.js"></script>
20 <script src="static/index.js"></script> 20 <script>
21 $(function() {
22 {% if json is defined and template is defined %}
23 // Create model.
24 var profiler = new Profiler({{ json|safe }}, {{ template|safe }});
25 // Create views subscribing model events.
26 var graphView = new GraphView(profiler);
27 var dropdownView = new DropdownView(profiler);
28 var menuView = new MenuView(profiler);
29
30 // initialize categories according to roots information.
31 profiler.reparse();
32 {% endif %}
33 });
34 </script>
21 35
22 <body> 36 <body>
23 <h2>Deep Memory Profiler Visulaizer</h2> 37 <h2>Deep Memory Profiler Visulaizer</h2>
24 <form action="/" method="post"> 38 <form enctype="multipart/form-data" action="{{ upload_url }}" method="post">
25 <input type="file" action=name="data"/> 39 <input type="file" name="file"/>
26 <input type="submit"/> 40 <input type="submit" value="Upload"/>
41 <p><font color="red">
42 {{ upload_msg }}
43 </font></p>
27 </form> 44 </form>
28 <div id="graph-div"></div> 45 <div id="graph-div"></div>
29 <div id="info-div"> 46 <div id="info-div">
30 <div id="subs-dropdown"></div> 47 <div id="subs-dropdown"></div>
31 <div id="category-menu"></div> 48 <div id="category-menu"></div>
32 </div> 49 </div>
33 </body> 50 </body>
OLDNEW
« no previous file with comments | « tools/deep_memory_profiler/visualizer/app_unittest.py ('k') | tools/deep_memory_profiler/visualizer/run_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698