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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js

Issue 2658383002: [DevTools] Make UI.GlassPane position contentElement for different overlay controls. (Closed)
Patch Set: rebased Created 3 years, 11 months 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/InspectorView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js b/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js
index c9646325538c6d41b180698249f8d6bdc410ac3d..1b989e98c526d30e33c3ea5270b3c3a45ba8bf49 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js
@@ -34,7 +34,7 @@
UI.InspectorView = class extends UI.VBox {
constructor() {
super();
- UI.Dialog.setModalHostView(this);
+ UI.GlassPane.setContainer(this.element);
this.setMinimumSize(240, 72);
// DevTools sidebar is a vertical split of panels tabbed pane and a drawer.
@@ -268,7 +268,7 @@ UI.InspectorView = class extends UI.VBox {
* @override
*/
onResize() {
- UI.Dialog.modalHostRepositioned();
+ UI.GlassPane.containerMoved(this.element);
}
/**

Powered by Google App Engine
This is Rietveld 408576698