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

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

Issue 2716683006: DevTools: add entry points for command menu (Closed)
Patch Set: Created 3 years, 10 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 d4d3ecb9cea3855113fa2080d3e92c86a59e6494..d947af4bd51670830e6bf9b4bd2fe3b2f2355a98 100644
--- a/third_party/WebKit/Source/devtools/front_end/main/Main.js
+++ b/third_party/WebKit/Source/devtools/front_end/main/Main.js
@@ -726,6 +726,7 @@ Main.Main.MainMenuItem = class {
contextMenu.discard();
}
+ contextMenu.appendAction('commandMenu.show', 'Run command');
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