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

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

Issue 1178563002: DevTools: Refactor network panel overview (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update test. Created 5 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
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 21 matching lines...) Expand all
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.Widget.createStyleElement("ui_lazy/tim elineGrid.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.classList.add("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");
48 this._rightCurtainElement = this.element.createChild("div", "timeline-cpu-cu rtain-right"); 48 this._rightCurtainElement = this.element.createChild("div", "timeline-cpu-cu rtain-right");
49 } 49 }
50 50
51 /** 51 /**
52 * @param {!WebInspector.TimelineGrid.Calculator} calculator 52 * @param {!WebInspector.TimelineGrid.Calculator} calculator
(...skipping 277 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/timeline/timelinePanel.css ('k') | Source/devtools/front_end/ui_lazy/TimelineOverviewPane.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698