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

Unified Diff: third_party/WebKit/Source/devtools/front_end/inline_editor/SwatchPopoverHelper.js

Issue 2790613003: Reland of [DevTools] Migrate SoftContextMenu to use GlassPane (Closed)
Patch Set: Created 3 years, 9 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 | third_party/WebKit/Source/devtools/front_end/ui/ContextMenu.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/inline_editor/SwatchPopoverHelper.js
diff --git a/third_party/WebKit/Source/devtools/front_end/inline_editor/SwatchPopoverHelper.js b/third_party/WebKit/Source/devtools/front_end/inline_editor/SwatchPopoverHelper.js
index e060c8b6c6ea2a0147df84dd76721bf218c57196..8c6c9d34c99f2743226a419fad3e4c4aea71196f 100644
--- a/third_party/WebKit/Source/devtools/front_end/inline_editor/SwatchPopoverHelper.js
+++ b/third_party/WebKit/Source/devtools/front_end/inline_editor/SwatchPopoverHelper.js
@@ -11,7 +11,7 @@
this._popover.registerRequiredCSS('inline_editor/swatchPopover.css');
this._popover.setBlockPointerEvents(false);
this._popover.setSizeBehavior(UI.GlassPane.SizeBehavior.MeasureContent);
- this._popover.setShowArrow(true);
+ this._popover.setMarginBehavior(UI.GlassPane.MarginBehavior.Arrow);
this._popover.element.addEventListener('mousedown', e => e.consume(), false);
this._hideProxy = this.hide.bind(this, true);
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/ui/ContextMenu.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698