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

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

Issue 2769843003: DevTools: split text_utils out of common module (Closed)
Patch Set: rebaseline Created 3 years, 9 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/sources/EditingLocationHistoryManager.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/EditingLocationHistoryManager.js b/third_party/WebKit/Source/devtools/front_end/sources/EditingLocationHistoryManager.js
index afd3d4d56b4fd203443a4c47b4e41f21aa5530ce..f374d868618db63e17af3c9d88076cf43b201930 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/EditingLocationHistoryManager.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/EditingLocationHistoryManager.js
@@ -83,7 +83,7 @@ Sources.EditingLocationHistoryManager = class {
}
/**
- * @param {!Common.TextRange} selection
+ * @param {!TextUtils.TextRange} selection
*/
_updateActiveState(selection) {
var active = this._historyManager.active();
@@ -97,7 +97,7 @@ Sources.EditingLocationHistoryManager = class {
}
/**
- * @param {!Common.TextRange} selection
+ * @param {!TextUtils.TextRange} selection
*/
_pushActiveState(selection) {
var sourceFrame = this._currentSourceFrameCallback();
@@ -130,7 +130,7 @@ Sources.EditingLocationHistoryEntry = class {
* @param {!Sources.SourcesView} sourcesView
* @param {!Sources.EditingLocationHistoryManager} editingLocationManager
* @param {!SourceFrame.SourceFrame} sourceFrame
- * @param {!Common.TextRange} selection
+ * @param {!TextUtils.TextRange} selection
*/
constructor(sourcesView, editingLocationManager, sourceFrame, selection) {
this._sourcesView = sourcesView;
@@ -153,7 +153,7 @@ Sources.EditingLocationHistoryEntry = class {
}
/**
- * @param {!Common.TextRange} selection
+ * @param {!TextUtils.TextRange} selection
* @return {!{lineNumber: number, columnNumber: number}}
*/
_positionFromSelection(selection) {

Powered by Google App Engine
This is Rietveld 408576698