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

Unified Diff: third_party/WebKit/Source/devtools/front_end/main/Main.js

Issue 2716683006: DevTools: add entry points for command menu (Closed)
Patch Set: no wrap/scroll 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
Index: third_party/WebKit/Source/devtools/front_end/main/Main.js
diff --git a/third_party/WebKit/Source/devtools/front_end/main/Main.js b/third_party/WebKit/Source/devtools/front_end/main/Main.js
index f638ac8bd54d555b10eb99d76740fcdcfbea665a..97ee48baac71958f43afa766475eaef39c4e070a 100644
--- a/third_party/WebKit/Source/devtools/front_end/main/Main.js
+++ b/third_party/WebKit/Source/devtools/front_end/main/Main.js
@@ -731,6 +731,7 @@ Main.Main.MainMenuItem = class {
contextMenu.discard();
}
+ contextMenu.appendAction('commandMenu.show', 'Run command');
chenwilliam 2017/03/09 22:30:16 Common.UIString
pfeldman 2017/03/28 00:59:34 You should not indirectly refer to the action ids
luoe 2017/04/22 00:07:03 Done.
contextMenu.appendAction(
'main.toggle-drawer', UI.inspectorView.drawerVisible() ? Common.UIString('Hide console drawer') :
Common.UIString('Show console drawer'));

Powered by Google App Engine
This is Rietveld 408576698