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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui_lazy/FlameChart.js

Issue 1468163003: DevTools: Make tracking entry info on flame chart work with pan/zoom. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more rebaseline Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/ui_lazy/FlameChart.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui_lazy/FlameChart.js b/third_party/WebKit/Source/devtools/front_end/ui_lazy/FlameChart.js
index 20f5b5338859f1b5b31c66e45a08929e6c7dc1ae..a885cadd265107c01304861ff6912eca9fafcccf 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui_lazy/FlameChart.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui_lazy/FlameChart.js
@@ -543,6 +543,7 @@ WebInspector.FlameChart.prototype = {
_animationCompleted: function()
{
delete this._cancelWindowTimesAnimation;
+ this._hideHighlight();
},
/**
@@ -592,6 +593,7 @@ WebInspector.FlameChart.prototype = {
this._dragStartWindowLeft = this._timeWindowLeft;
this._dragStartWindowRight = this._timeWindowRight;
this._canvas.style.cursor = "";
+ this._hideHighlight();
return true;
},
@@ -634,6 +636,7 @@ WebInspector.FlameChart.prototype = {
style.width = "1px";
this._selectedTimeSpanLabel.textContent = "";
this._selectionOverlay.classList.remove("hidden");
+ this._hideHighlight();
return true;
},
@@ -1531,6 +1534,7 @@ WebInspector.FlameChart.prototype = {
_onScroll: function()
{
this._scrollTop = this._vScrollElement.scrollTop;
+ this._hideHighlight();
this.scheduleUpdate();
},
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698