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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/RootView.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/RootView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/RootView.js b/third_party/WebKit/Source/devtools/front_end/ui/RootView.js
index 15f2b86298944a2fc3872ce43cb43e6505f8e4fd..65148585526c1b92149b64fe2dc1ef1b38ad726a 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/RootView.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/RootView.js
@@ -4,7 +4,7 @@
/**
* @unrestricted
*/
-WebInspector.RootView = class extends WebInspector.VBox {
+UI.RootView = class extends UI.VBox {
constructor() {
super();
this.markAsRoot();
@@ -29,7 +29,7 @@ WebInspector.RootView = class extends WebInspector.VBox {
doResize() {
if (this._window) {
var size = this.constraints().minimum;
- var zoom = WebInspector.zoomManager.zoomFactor();
+ var zoom = UI.zoomManager.zoomFactor();
var right = Math.min(0, this._window.innerWidth - size.width / zoom);
this.element.style.marginRight = right + 'px';
var bottom = Math.min(0, this._window.innerHeight - size.height / zoom);

Powered by Google App Engine
This is Rietveld 408576698