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

Unified Diff: Source/devtools/front_end/ui/Dialog.js

Issue 659043002: DevTools: fix styles for glasspane (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: address comments one more time Created 6 years, 2 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 | « no previous file | Source/devtools/front_end/ui/SoftContextMenu.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ui/Dialog.js
diff --git a/Source/devtools/front_end/ui/Dialog.js b/Source/devtools/front_end/ui/Dialog.js
index 9b482a79511e1065078093e3c5d2154f151ad9b4..35cab99514701951b984f973e829c8644b267ce0 100644
--- a/Source/devtools/front_end/ui/Dialog.js
+++ b/Source/devtools/front_end/ui/Dialog.js
@@ -47,6 +47,7 @@ WebInspector.Dialog = function(relativeToElement, delegate)
this._element = this._glassPane.element.createChild("div");
this._element.tabIndex = 0;
+ this._element.classList.add("component-root");
this._element.addEventListener("focus", this._onFocus.bind(this), false);
this._element.addEventListener("keydown", this._onKeyDown.bind(this), false);
this._closeKeys = [
« no previous file with comments | « no previous file | Source/devtools/front_end/ui/SoftContextMenu.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698