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

Unified Diff: Source/devtools/front_end/ui/SoftContextMenu.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 | « Source/devtools/front_end/ui/Dialog.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ui/SoftContextMenu.js
diff --git a/Source/devtools/front_end/ui/SoftContextMenu.js b/Source/devtools/front_end/ui/SoftContextMenu.js
index 274a412a92ca6159bf6586b2c179c01b5a0d2aad..649b20de03a25099faa4f9e5dd53417bd375dd49 100644
--- a/Source/devtools/front_end/ui/SoftContextMenu.js
+++ b/Source/devtools/front_end/ui/SoftContextMenu.js
@@ -49,6 +49,7 @@ WebInspector.SoftContextMenu.prototype = {
// Create context menu.
this._contextMenuElement = document.createElementWithClass("div", "soft-context-menu");
+ this._contextMenuElement.classList.add("component-root");
this._contextMenuElement.tabIndex = 0;
this._contextMenuElement.style.top = y + "px";
this._contextMenuElement.style.left = x + "px";
« no previous file with comments | « Source/devtools/front_end/ui/Dialog.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698