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

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

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 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
Index: third_party/WebKit/Source/devtools/front_end/sources/SimpleHistoryManager.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SimpleHistoryManager.js b/third_party/WebKit/Source/devtools/front_end/sources/SimpleHistoryManager.js
index 3d7379c7e306712dfc1b58f748a1409feccff6e3..5801ebd2459ef85c970d32cd658b514d5bcf9bc3 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/SimpleHistoryManager.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/SimpleHistoryManager.js
@@ -30,9 +30,9 @@
/**
* @interface
*/
-WebInspector.HistoryEntry = function() {};
+Sources.HistoryEntry = function() {};
-WebInspector.HistoryEntry.prototype = {
+Sources.HistoryEntry.prototype = {
/**
* @return {boolean}
*/
@@ -44,7 +44,7 @@ WebInspector.HistoryEntry.prototype = {
/**
* @unrestricted
*/
-WebInspector.SimpleHistoryManager = class {
+Sources.SimpleHistoryManager = class {
/**
* @param {number} historyDepth
*/
@@ -71,7 +71,7 @@ WebInspector.SimpleHistoryManager = class {
}
/**
- * @param {function(!WebInspector.HistoryEntry):boolean} filterOutCallback
+ * @param {function(!Sources.HistoryEntry):boolean} filterOutCallback
*/
filterOut(filterOutCallback) {
if (this.readOnly())
@@ -96,14 +96,14 @@ WebInspector.SimpleHistoryManager = class {
}
/**
- * @return {?WebInspector.HistoryEntry}
+ * @return {?Sources.HistoryEntry}
*/
active() {
return this.empty() ? null : this._entries[this._activeEntryIndex];
}
/**
- * @param {!WebInspector.HistoryEntry} entry
+ * @param {!Sources.HistoryEntry} entry
*/
push(entry) {
if (this.readOnly())

Powered by Google App Engine
This is Rietveld 408576698