| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |