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

Unified Diff: Source/WebCore/inspector/front-end/SoftContextMenu.js

Issue 9968120: Merge 112992 - Web Inspector: "Pause on start" doesn't change checked state in workers panel (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 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
Index: Source/WebCore/inspector/front-end/SoftContextMenu.js
===================================================================
--- Source/WebCore/inspector/front-end/SoftContextMenu.js (revision 113151)
+++ Source/WebCore/inspector/front-end/SoftContextMenu.js (working copy)
@@ -81,7 +81,7 @@
if (document.body.offsetHeight < this._contextMenuElement.offsetTop + this._contextMenuElement.offsetHeight)
this._contextMenuElement.style.top = (document.body.offsetHeight - this._contextMenuElement.offsetHeight) + "px";
- event.consume();
+ event.consume(true);
},
_createMenuItem: function(item)
@@ -123,7 +123,7 @@
_menuItemMouseDown: function(event)
{
// Do not let separator's mouse down hit menu's handler - we need to receive mouse up!
- event.consume();
+ event.consume(true);
},
_menuItemMouseUp: function(event)
@@ -195,7 +195,7 @@
this._triggerAction(this._highlightedMenuItemElement, event);
break;
}
- event.consume();
+ event.consume(true);
},
_glassPaneMouseUp: function(event)
@@ -214,7 +214,7 @@
// This can re-enter discardMenu due to blur.
document.body.removeChild(glassPane);
- event.consume();
+ event.consume(true);
}
}
}
« no previous file with comments | « Source/WebCore/inspector/front-end/SearchController.js ('k') | Source/WebCore/inspector/front-end/Spectrum.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698