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

Unified Diff: third_party/WebKit/Source/devtools/front_end/bindings/LiveLocation.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/bindings/LiveLocation.js
diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/LiveLocation.js b/third_party/WebKit/Source/devtools/front_end/bindings/LiveLocation.js
index 6e68454d4c1e08cf7555f3a0f944a5ab8d4c8af6..8e8974b4820084734b77910e7affcd7614e068e1 100644
--- a/third_party/WebKit/Source/devtools/front_end/bindings/LiveLocation.js
+++ b/third_party/WebKit/Source/devtools/front_end/bindings/LiveLocation.js
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/** @interface */
-WebInspector.LiveLocation = function() {};
+Bindings.LiveLocation = function() {};
-WebInspector.LiveLocation.prototype = {
+Bindings.LiveLocation.prototype = {
update: function() {},
/**
- * @return {?WebInspector.UILocation}
+ * @return {?Workspace.UILocation}
*/
uiLocation: function() {},
@@ -21,13 +21,13 @@ WebInspector.LiveLocation.prototype = {
};
/**
- * @implements {WebInspector.LiveLocation}
+ * @implements {Bindings.LiveLocation}
* @unrestricted
*/
-WebInspector.LiveLocationWithPool = class {
+Bindings.LiveLocationWithPool = class {
/**
- * @param {function(!WebInspector.LiveLocation)} updateDelegate
- * @param {!WebInspector.LiveLocationPool} locationPool
+ * @param {function(!Bindings.LiveLocation)} updateDelegate
+ * @param {!Bindings.LiveLocationPool} locationPool
*/
constructor(updateDelegate, locationPool) {
this._updateDelegate = updateDelegate;
@@ -44,7 +44,7 @@ WebInspector.LiveLocationWithPool = class {
/**
* @override
- * @return {?WebInspector.UILocation}
+ * @return {?Workspace.UILocation}
*/
uiLocation() {
throw 'Not implemented';
@@ -70,20 +70,20 @@ WebInspector.LiveLocationWithPool = class {
/**
* @unrestricted
*/
-WebInspector.LiveLocationPool = class {
+Bindings.LiveLocationPool = class {
constructor() {
this._locations = new Set();
}
/**
- * @param {!WebInspector.LiveLocation} location
+ * @param {!Bindings.LiveLocation} location
*/
_add(location) {
this._locations.add(location);
}
/**
- * @param {!WebInspector.LiveLocation} location
+ * @param {!Bindings.LiveLocation} location
*/
_delete(location) {
this._locations.delete(location);

Powered by Google App Engine
This is Rietveld 408576698