| Index: third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
|
| index b30b80917250322a04a23f068315e328c561a682..09701d72346af8180154a36673210e2bc3ea8bb8 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
|
| @@ -739,10 +739,10 @@ WebInspector.SourcesPanel.prototype = {
|
| appendApplicableItems: function(event, contextMenu, target)
|
| {
|
| this._appendUISourceCodeItems(event, contextMenu, target);
|
| + this._appendUISourceCodeFrameItems(event, contextMenu, target);
|
| this.appendUILocationItems(contextMenu, target);
|
| this._appendRemoteObjectItems(contextMenu, target);
|
| this._appendNetworkRequestItems(contextMenu, target);
|
| - contextMenu.appendAction("debugger.evaluate-selection");
|
| },
|
|
|
| /**
|
| @@ -845,6 +845,18 @@ WebInspector.SourcesPanel.prototype = {
|
| },
|
|
|
| /**
|
| + * @param {!Event} event
|
| + * @param {!WebInspector.ContextMenu} contextMenu
|
| + * @param {!Object} target
|
| + */
|
| + _appendUISourceCodeFrameItems: function(event, contextMenu, target)
|
| + {
|
| + if (!(target instanceof WebInspector.UISourceCodeFrame))
|
| + return;
|
| + contextMenu.appendAction("debugger.evaluate-selection");
|
| + },
|
| +
|
| + /**
|
| * @param {!WebInspector.ContextMenu} contextMenu
|
| * @param {!Object} object
|
| */
|
|
|