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

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

Issue 2706293007: [DevTools] Fix Dialog's close button to properly close dialog. (Closed)
Patch Set: test Created 3 years, 10 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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js b/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
index 64d4636c6f65dd750fe878a10babc2c6c3daa191..4cb3c445e623e20a25440bd0b8be25e57ee8e8c9 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
@@ -97,7 +97,7 @@ UI.DragHandler = class {
if (!UI.DragHandler._glassPaneUsageCount++) {
UI.DragHandler._glassPane = new UI.GlassPane();
UI.DragHandler._glassPane.setBlockPointerEvents(true);
- UI.DragHandler._glassPane.showGlassPane(UI.DragHandler._documentForMouseOut);
+ UI.DragHandler._glassPane.show(UI.DragHandler._documentForMouseOut);
}
}
@@ -107,7 +107,7 @@ UI.DragHandler = class {
this._glassPaneInUse = false;
if (--UI.DragHandler._glassPaneUsageCount)
return;
- UI.DragHandler._glassPane.hideGlassPane();
+ UI.DragHandler._glassPane.hide();
delete UI.DragHandler._glassPane;
delete UI.DragHandler._documentForMouseOut;
}
@@ -2050,12 +2050,12 @@ UI.ConfirmDialog = class extends UI.VBox {
.ConfirmDialog(
message,
() => {
- dialog.hideDialog();
+ dialog.hide();
callback();
},
- () => dialog.hideDialog())
+ () => dialog.hide())
.show(dialog.contentElement);
- dialog.showDialog(where);
+ dialog.show(where);
}
/**
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698