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

Unified Diff: chrome/common/extensions/docs/contextMenus.html

Issue 7258009: Remove scheme restriction for extension context menu items. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added docs changes Created 9 years, 5 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: chrome/common/extensions/docs/contextMenus.html
diff --git a/chrome/common/extensions/docs/contextMenus.html b/chrome/common/extensions/docs/contextMenus.html
index fd4bf048a1a69fb3abd8b0160956d3f38a09a47f..837749e177111527ccb11cae131330e990010da5 100644
--- a/chrome/common/extensions/docs/contextMenus.html
+++ b/chrome/common/extensions/docs/contextMenus.html
@@ -347,6 +347,9 @@ Google Chrome automatically collapses them
into a single parent menu.
</p>
+<p>When we originally released the contextMenus API out of
+experimental, we limited items to only appear on documents (or frames within documents) whose url had a scheme of http/https. We've recently removed that restriction, so your items can appear on any document such as file:// urls, etc. If you'd like to control which pages your items appear on, see the targetUrlPatterns parameter to the create and update methods.</p>
+
<h2 id="manifest">Manifest</h2>
<p>You must declare the "contextMenus" permission
in your extension's manifest to use the API.

Powered by Google App Engine
This is Rietveld 408576698