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

Unified Diff: Source/devtools/front_end/sources/UISourceCodeFrame.js

Issue 1165263002: DevTools: Add 'continue to here' to the editor context menu. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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/sources/SourcesPanel.js ('k') | Source/devtools/front_end/sources/module.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/sources/UISourceCodeFrame.js
diff --git a/Source/devtools/front_end/sources/UISourceCodeFrame.js b/Source/devtools/front_end/sources/UISourceCodeFrame.js
index 0649e8aee92b9d2e1b499458fca774e14c2ae9fb..a6cdd620ad306077d3b56b422677a36ddb58f370 100644
--- a/Source/devtools/front_end/sources/UISourceCodeFrame.js
+++ b/Source/devtools/front_end/sources/UISourceCodeFrame.js
@@ -168,10 +168,11 @@ WebInspector.UISourceCodeFrame.prototype = {
delete this._isSettingContent;
},
- populateTextAreaContextMenu: function(contextMenu, lineNumber)
+ populateTextAreaContextMenu: function(contextMenu, lineNumber, columnNumber)
{
- WebInspector.SourceFrame.prototype.populateTextAreaContextMenu.call(this, contextMenu, lineNumber);
+ WebInspector.SourceFrame.prototype.populateTextAreaContextMenu.call(this, contextMenu, lineNumber, columnNumber);
contextMenu.appendApplicableItems(this._uiSourceCode);
+ contextMenu.appendApplicableItems(new WebInspector.UILocation(this._uiSourceCode, lineNumber, columnNumber));
contextMenu.appendSeparator();
},
« no previous file with comments | « Source/devtools/front_end/sources/SourcesPanel.js ('k') | Source/devtools/front_end/sources/module.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698