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

Side by Side Diff: Source/devtools/front_end/ui_lazy/TimelineGrid.js

Issue 1113813002: [DevTools] Rename View to Widget. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/devtools/front_end/ui_lazy/PieChart.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2008, 2009 Anthony Ricaud <rik@webkit.org> 3 * Copyright (C) 2008, 2009 Anthony Ricaud <rik@webkit.org>
4 * Copyright (C) 2009 Google Inc. All rights reserved. 4 * Copyright (C) 2009 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 16 matching lines...) Expand all
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 /** 31 /**
32 * @constructor 32 * @constructor
33 */ 33 */
34 WebInspector.TimelineGrid = function() 34 WebInspector.TimelineGrid = function()
35 { 35 {
36 this.element = createElement("div"); 36 this.element = createElement("div");
37 this.element.appendChild(WebInspector.View.createStyleElement("ui_lazy/timel ineGrid.css")); 37 this.element.appendChild(WebInspector.Widget.createStyleElement("ui_lazy/tim elineGrid.css"));
38 38
39 this._dividersElement = this.element.createChild("div", "resources-dividers" ); 39 this._dividersElement = this.element.createChild("div", "resources-dividers" );
40 40
41 this._gridHeaderElement = createElement("div"); 41 this._gridHeaderElement = createElement("div");
42 this._gridHeaderElement.id = "timeline-grid-header"; 42 this._gridHeaderElement.id = "timeline-grid-header";
43 this._eventDividersElement = this._gridHeaderElement.createChild("div", "res ources-event-dividers"); 43 this._eventDividersElement = this._gridHeaderElement.createChild("div", "res ources-event-dividers");
44 this._dividersLabelBarElement = this._gridHeaderElement.createChild("div", " resources-dividers-label-bar"); 44 this._dividersLabelBarElement = this._gridHeaderElement.createChild("div", " resources-dividers-label-bar");
45 this.element.appendChild(this._gridHeaderElement); 45 this.element.appendChild(this._gridHeaderElement);
46 46
47 this._leftCurtainElement = this.element.createChild("div", "timeline-cpu-cur tain-left"); 47 this._leftCurtainElement = this.element.createChild("div", "timeline-cpu-cur tain-left");
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 330
331 /** @return {number} */ 331 /** @return {number} */
332 zeroTime: function() { }, 332 zeroTime: function() { },
333 333
334 /** @return {number} */ 334 /** @return {number} */
335 maximumBoundary: function() { }, 335 maximumBoundary: function() { },
336 336
337 /** @return {number} */ 337 /** @return {number} */
338 boundarySpan: function() { } 338 boundarySpan: function() { }
339 } 339 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/ui_lazy/PieChart.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698