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

Unified Diff: third_party/WebKit/Source/devtools/front_end/common/Progress.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/common/Progress.js
diff --git a/third_party/WebKit/Source/devtools/front_end/common/Progress.js b/third_party/WebKit/Source/devtools/front_end/common/Progress.js
index 1fcdc97afe181e242491a059ce4302361f2ae9da..65e01c4adcf234418da8b1433a9f9b266a96e3ab 100644
--- a/third_party/WebKit/Source/devtools/front_end/common/Progress.js
+++ b/third_party/WebKit/Source/devtools/front_end/common/Progress.js
@@ -30,9 +30,9 @@
/**
* @interface
*/
-WebInspector.Progress = function() {};
+Common.Progress = function() {};
-WebInspector.Progress.prototype = {
+Common.Progress.prototype = {
/**
* @param {number} totalWork
*/
@@ -67,9 +67,9 @@ WebInspector.Progress.prototype = {
/**
* @unrestricted
*/
-WebInspector.CompositeProgress = class {
+Common.CompositeProgress = class {
/**
- * @param {!WebInspector.Progress} parent
+ * @param {!Common.Progress} parent
*/
constructor(parent) {
this._parent = parent;
@@ -87,10 +87,10 @@ WebInspector.CompositeProgress = class {
/**
* @param {number=} weight
- * @return {!WebInspector.SubProgress}
+ * @return {!Common.SubProgress}
*/
createSubProgress(weight) {
- var child = new WebInspector.SubProgress(this, weight);
+ var child = new Common.SubProgress(this, weight);
this._children.push(child);
return child;
}
@@ -110,12 +110,12 @@ WebInspector.CompositeProgress = class {
};
/**
- * @implements {WebInspector.Progress}
+ * @implements {Common.Progress}
* @unrestricted
*/
-WebInspector.SubProgress = class {
+Common.SubProgress = class {
/**
- * @param {!WebInspector.CompositeProgress} composite
+ * @param {!Common.CompositeProgress} composite
* @param {number=} weight
*/
constructor(composite, weight) {
@@ -179,12 +179,12 @@ WebInspector.SubProgress = class {
};
/**
- * @implements {WebInspector.Progress}
+ * @implements {Common.Progress}
* @unrestricted
*/
-WebInspector.ProgressProxy = class {
+Common.ProgressProxy = class {
/**
- * @param {?WebInspector.Progress} delegate
+ * @param {?Common.Progress} delegate
* @param {function()=} doneCallback
*/
constructor(delegate, doneCallback) {

Powered by Google App Engine
This is Rietveld 408576698