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

Unified Diff: third_party/WebKit/Source/devtools/front_end/common/TextRange.js

Issue 2238003002: DevTools: migrate sources panel sidebar to views. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: followed up on the watch test. Created 4 years, 4 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/common/TextRange.js
diff --git a/third_party/WebKit/Source/devtools/front_end/common/TextRange.js b/third_party/WebKit/Source/devtools/front_end/common/TextRange.js
index 3be2be8b251b9a26c65c2d18ae40bb057c73d01c..f8d0a457c0d3356e85a750759f638981e2d1238c 100644
--- a/third_party/WebKit/Source/devtools/front_end/common/TextRange.js
+++ b/third_party/WebKit/Source/devtools/front_end/common/TextRange.js
@@ -279,6 +279,17 @@ WebInspector.TextRange.prototype = {
}
/**
+ * @constructor
+ * @param {!WebInspector.TextRange} textRange
+ * @param {string} content
+ */
+WebInspector.TextRangeWithContent = function(textRange, content)
+{
+ this.textRange = textRange;
+ this.content = content;
+}
+
+/**
* @param {!WebInspector.TextRange} oldRange
* @param {string} newText
* @return {!WebInspector.TextRange}

Powered by Google App Engine
This is Rietveld 408576698