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

Side by Side Diff: tracing/tracing/ui/base/timing_tool_test.html

Issue 2769203003: [tracing] Fix import ordering in all files under tracing/ (Closed)
Patch Set: Created 3 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright (c) 2014 The Chromium Authors. All rights reserved. 3 Copyright (c) 2014 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 7
8 <link rel="import" href="/tracing/ui/base/timing_tool.html">
8 <link rel="import" href="/tracing/ui/timeline_viewport.html"> 9 <link rel="import" href="/tracing/ui/timeline_viewport.html">
9 <link rel="import" href="/tracing/ui/base/timing_tool.html">
10 10
11 <script> 11 <script>
12 'use strict'; 12 'use strict';
13 13
14 tr.b.unittest.testSuite(function() { 14 tr.b.unittest.testSuite(function() {
15 function create100PxWideViewportInto10WideWorld() { 15 function create100PxWideViewportInto10WideWorld() {
16 var vp = new tr.ui.TimelineViewport(document.createElement('div')); 16 var vp = new tr.ui.TimelineViewport(document.createElement('div'));
17 var tempDisplayTransform = new tr.ui.TimelineDisplayTransform(); 17 var tempDisplayTransform = new tr.ui.TimelineDisplayTransform();
18 tempDisplayTransform.xSetWorldBounds(0, 10, 100); 18 tempDisplayTransform.xSetWorldBounds(0, 10, 100);
19 vp.setDisplayTransformImmediately(tempDisplayTransform); 19 vp.setDisplayTransformImmediately(tempDisplayTransform);
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 assert.equal(vp.interestRange.max, 5); 69 assert.equal(vp.interestRange.max, 5);
70 assert.isTrue(vp.interestRange.leftSelected); 70 assert.isTrue(vp.interestRange.leftSelected);
71 tool.mouseUp_(); 71 tool.mouseUp_();
72 assert.equal(vp.interestRange.min, 4); 72 assert.equal(vp.interestRange.min, 4);
73 assert.isFalse(vp.interestRange.leftSelected); 73 assert.isFalse(vp.interestRange.leftSelected);
74 assert.isFalse(vp.interestRange.rightSelected); 74 assert.isFalse(vp.interestRange.rightSelected);
75 }); 75 });
76 }); 76 });
77 </script> 77 </script>
78 78
OLDNEW
« no previous file with comments | « tracing/tracing/ui/analysis/stack_frame_test.html ('k') | tracing/tracing/ui/base/ui_state_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698