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

Unified Diff: Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js

Issue 452083002: DevTools: Implement CSS/JS documentation context menu provider for CodeMirrorTextEditor (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@my-patch
Patch Set: Rebased master branch Created 6 years, 4 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/main/Main.js ('k') | Source/devtools/scripts/frontend_modules.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js
diff --git a/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js b/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js
index de3d4566131df05459dab0dd616203f9c11e58f4..c8d8f77bf4bff3252a7f5872d8592edcdd9a2c98 100644
--- a/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js
+++ b/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js
@@ -955,6 +955,7 @@ WebInspector.CodeMirrorTextEditor.prototype = {
this._delegate.populateLineGutterContextMenu(contextMenu, parseInt(target.textContent, 10) - 1);
else
this._delegate.populateTextAreaContextMenu(contextMenu, 0);
+ contextMenu.appendApplicableItems(this);
contextMenu.show();
},
« no previous file with comments | « Source/devtools/front_end/main/Main.js ('k') | Source/devtools/scripts/frontend_modules.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698