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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/ZoomManager.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/ui/ZoomManager.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/ZoomManager.js b/third_party/WebKit/Source/devtools/front_end/ui/ZoomManager.js
index 7840514fd459fabd637b1aeacef8d879f56c841c..99dd413b9bbf16fbf57d95920a0626862cc43b61 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/ZoomManager.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/ZoomManager.js
@@ -4,7 +4,7 @@
/**
* @unrestricted
*/
-WebInspector.ZoomManager = class extends WebInspector.Object {
+UI.ZoomManager = class extends Common.Object {
/**
* @param {!Window} window
* @param {!InspectorFrontendHostAPI} frontendHost
@@ -44,16 +44,16 @@ WebInspector.ZoomManager = class extends WebInspector.Object {
this._zoomFactor = this._frontendHost.zoomFactor();
if (oldZoomFactor !== this._zoomFactor)
this.dispatchEventToListeners(
- WebInspector.ZoomManager.Events.ZoomChanged, {from: oldZoomFactor, to: this._zoomFactor});
+ UI.ZoomManager.Events.ZoomChanged, {from: oldZoomFactor, to: this._zoomFactor});
}
};
/** @enum {symbol} */
-WebInspector.ZoomManager.Events = {
+UI.ZoomManager.Events = {
ZoomChanged: Symbol('ZoomChanged')
};
/**
- * @type {!WebInspector.ZoomManager}
+ * @type {!UI.ZoomManager}
*/
-WebInspector.zoomManager;
+UI.zoomManager;

Powered by Google App Engine
This is Rietveld 408576698