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

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

Issue 2721233003: DevTools: create help sub-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 33331dc3e8b4a72dabcfb8238d6985c83fc02790..a4ddabeb270ca0a5bc5e476a4c38160ade85061d 100644
--- a/third_party/WebKit/Source/devtools/front_end/main/Main.js
+++ b/third_party/WebKit/Source/devtools/front_end/main/Main.js
@@ -746,6 +746,12 @@ Main.Main.MainMenuItem = class {
moreTools.appendItem(extension.title(), UI.viewManager.showView.bind(UI.viewManager, descriptor['id']));
}
+ var helpSubMenu = contextMenu.namedSubMenu('mainMenuHelp');
+ helpSubMenu.appendItem(
+ 'Documentation',
+ () => InspectorFrontendHost.openInNewTab('https://developers.google.com/web/tools/chrome-devtools/'));
+ if (Runtime.experiments.isEnabled('releaseNote'))
+ helpSubMenu.appendItem('Release Note', () => InspectorFrontendHost.openInNewTab(Help.latestReleaseNote().link));
alph 2017/03/01 17:26:47 Release Notes?
chenwilliam 2017/03/01 19:43:26 Done.
contextMenu.show();
}
};

Powered by Google App Engine
This is Rietveld 408576698