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

Side by Side Diff: tools/cc-frame-viewer/src/tile_view_test.html

Issue 15736032: Remove old cc-frame-viewer now that it is upstreamed into trace_viewer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « tools/cc-frame-viewer/src/tile_view.js ('k') | tools/cc-frame-viewer/src/tree_quad_view.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 Copyright (c) 2012 The Chromium Authors. All rights reserved.
5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file.
7 -->
8 <head>
9 <script src="base.js"></script>
10 <script>
11 base.require('base.unittest');
12 base.require('tile_view');
13 base.require('model');
14 </script>
15 </head>
16 <body>
17 <script src="../unittest_data/full_trace_but_with_only_one_frame.js"></script>
18 <script>
19 'use strict';
20
21 var Model = ccfv.Model;
22 var TileView = ccfv.TileView;
23
24 function testInstantiate() {
25 var model = new Model();
26 model.initFromTraceEvents(gFullTraceButWithOnlyOneFrame);
27 var lthiHistory = base.dictionaryValues(model.lthiHistories)[0];
28 var lthi = lthiHistory.lthiSnapshots[0];
29
30
31 var tileView = new TileView();
32 this.addHTMLOutput('Tile View', tileView);
33
34 tileView.tile = lthi.activeTree.tiles[0];
35 }
36 </script>
37 </body>
38 </html>
OLDNEW
« no previous file with comments | « tools/cc-frame-viewer/src/tile_view.js ('k') | tools/cc-frame-viewer/src/tree_quad_view.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698