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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js

Issue 2874363002: [DevTools] Make async step in marker contiguous (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/text_editor/cmdevtools.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js
index 09f0ab9ec86ab49848228d0aa13638642a0de20e..871728aee8367a93d3d38f24ae44c29966f1355d 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js
@@ -515,6 +515,11 @@ Sources.JavaScriptSourceFrame = class extends SourceFrame.UISourceCodeFrame {
if (!this._continueToLocationDecorations)
this._showContinueToLocations();
}
+ if (this._continueToLocationDecorations) {
+ this.textEditor.element.classList.toggle(
+ 'source-frame-async-step-in-hovered',
+ !!event.target.enclosingNodeOrSelfWithClass('source-frame-async-step-in'));
+ }
}
/**
@@ -915,6 +920,7 @@ Sources.JavaScriptSourceFrame = class extends SourceFrame.UISourceCodeFrame {
for (var decoration of this._continueToLocationDecorations.keys())
this.textEditor.removeHighlight(decoration);
this._continueToLocationDecorations = null;
+ this.textEditor.element.classList.remove('source-frame-async-step-in-hovered');
});
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/text_editor/cmdevtools.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698