Commit 7dcd981c authored by loislo@chromium.org's avatar loislo@chromium.org
Browse files

Unreviewed. Web Inspector. rename method...

Unreviewed. Web Inspector. rename method Timeline.Calculator.grandMinimumBoundary to Timeline.Calculator.zeroTime

No changes in behaviour.

* inspector/front-end/FlameChart.js:
(WebInspector.FlameChart.Calculator.prototype.zeroTime):
(WebInspector.FlameChart.OverviewCalculator.prototype.zeroTime):
* inspector/front-end/NetworkPanel.js:
(WebInspector.NetworkBaseCalculator.prototype.zeroTime):
* inspector/front-end/TimelineGrid.js:
(WebInspector.TimelineGrid.prototype.updateDividers):
(WebInspector.TimelineGrid.Calculator.prototype.zeroTime):
* inspector/front-end/TimelineOverviewPane.js:
(WebInspector.TimelineOverviewCalculator.prototype.zeroTime):
* inspector/front-end/TimelinePanel.js:
(WebInspector.TimelineCalculator.prototype.zeroTime):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146970 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 54329e89
2013-03-27 Ilya Tikhonovsky <loislo@chromium.org>
Unreviewed. Web Inspector. rename method Timeline.Calculator.grandMinimumBoundary to Timeline.Calculator.zeroTime
No changes in behaviour.
* inspector/front-end/FlameChart.js:
(WebInspector.FlameChart.Calculator.prototype.zeroTime):
(WebInspector.FlameChart.OverviewCalculator.prototype.zeroTime):
* inspector/front-end/NetworkPanel.js:
(WebInspector.NetworkBaseCalculator.prototype.zeroTime):
* inspector/front-end/TimelineGrid.js:
(WebInspector.TimelineGrid.prototype.updateDividers):
(WebInspector.TimelineGrid.Calculator.prototype.zeroTime):
* inspector/front-end/TimelineOverviewPane.js:
(WebInspector.TimelineOverviewCalculator.prototype.zeroTime):
* inspector/front-end/TimelinePanel.js:
(WebInspector.TimelineCalculator.prototype.zeroTime):
2013-03-26 Ilya Tikhonovsky <loislo@chromium.org>
 
Web Inspector: Timeline. Scroll dividers with the underlying events.
......@@ -113,7 +113,7 @@ WebInspector.FlameChart.Calculator.prototype = {
return this._minimumBoundaries;
},
grandMinimumBoundary: function()
zeroTime: function()
{
return 0;
},
......@@ -166,7 +166,7 @@ WebInspector.FlameChart.OverviewCalculator.prototype = {
return this._minimumBoundaries;
},
grandMinimumBoundary: function()
zeroTime: function()
{
return this._minimumBoundaries;
},
......
......@@ -1792,7 +1792,7 @@ WebInspector.NetworkBaseCalculator.prototype = {
return this._minimumBoundary;
},
grandMinimumBoundary: function()
zeroTime: function()
{
return this._minimumBoundary;
},
......
......@@ -89,7 +89,7 @@ WebInspector.TimelineGrid.prototype = {
var divider = this._dividersElement.firstChild;
var dividerLabelBar = this._dividersLabelBarElement.firstChild;
var sliceRemainder = (calculator.minimumBoundary() - calculator.grandMinimumBoundary()) % slice;
var sliceRemainder = (calculator.minimumBoundary() - calculator.zeroTime()) % slice;
for (var i = 0; i <= dividerCount; ++i) {
if (!divider) {
divider = document.createElement("div");
......@@ -231,7 +231,7 @@ WebInspector.TimelineGrid.Calculator.prototype = {
minimumBoundary: function() { },
/** @return {number} */
grandMinimumBoundary: function() { },
zeroTime: function() { },
/** @return {number} */
maximumBoundary: function() { },
......
......@@ -401,7 +401,7 @@ WebInspector.TimelineOverviewCalculator.prototype = {
return this._minimumBoundary;
},
grandMinimumBoundary: function()
zeroTime: function()
{
return this._minimumBoundary;
},
......
......@@ -1354,7 +1354,7 @@ WebInspector.TimelineCalculator.prototype = {
return this._minimumBoundary;
},
grandMinimumBoundary: function()
zeroTime: function()
{
return this._model.minimumRecordTime();
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment