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

Unified Diff: third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js

Issue 1403373013: DevTools: move ui messages from SourceFrame to UISourceCodeFrame (step2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed Created 5 years, 2 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
Index: third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js
diff --git a/third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js b/third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js
index ba33ebf7cc616370fb641e96334bc92799d46493..1cd2483954bc953dd7a85888e663122363f59855 100644
--- a/third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js
+++ b/third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js
@@ -223,6 +223,10 @@ WebInspector.SourceFrame.prototype = {
this._innerScrollToLineIfNeeded();
},
+ /**
+ * @param {!WebInspector.TextRange} oldRange
+ * @param {!WebInspector.TextRange} newRange
+ */
onTextChanged: function(oldRange, newRange)
{
if (this._searchResultsChangedCallback)
@@ -605,6 +609,8 @@ WebInspector.TextEditorDelegateForSourceFrame = function(sourceFrame)
WebInspector.TextEditorDelegateForSourceFrame.prototype = {
/**
* @override
+ * @param {!WebInspector.TextRange} oldRange
+ * @param {!WebInspector.TextRange} newRange
*/
onTextChanged: function(oldRange, newRange)
{

Powered by Google App Engine
This is Rietveld 408576698