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

Side by Side Diff: tracing/tracing/base/math/rect.html

Issue 2771723003: [tracing] Move math utilities from base into their own subdirectory (attempt 2) (Closed)
Patch Set: rebase 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 <link rel="import" href="/tracing/base/base.html"> 7 <link rel="import" href="/tracing/base/base.html">
8 <link rel="import" href="/tracing/base/math.html"> 8 <link rel="import" href="/tracing/base/math/math.html">
9 <script> 9 <script>
10 'use strict'; 10 'use strict';
11 11
12 tr.exportTo('tr.b', function() { 12 tr.exportTo('tr.b.math', function() {
13 /** 13 /**
14 * Tracks a 2D bounding box. 14 * Tracks a 2D bounding box.
15 * @constructor 15 * @constructor
16 */ 16 */
17 function Rect() { 17 function Rect() {
18 this.x = 0; 18 this.x = 0;
19 this.y = 0; 19 this.y = 0;
20 this.width = 0; 20 this.width = 0;
21 this.height = 0; 21 this.height = 0;
22 } 22 }
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 (this.width === rect.width) && 153 (this.width === rect.width) &&
154 (this.height === rect.height); 154 (this.height === rect.height);
155 } 155 }
156 }; 156 };
157 157
158 return { 158 return {
159 Rect, 159 Rect,
160 }; 160 };
161 }); 161 });
162 </script> 162 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/base/math/range_utils_test.html ('k') | tracing/tracing/base/math/rect_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698