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

Unified Diff: chrome/common/extensions/docs/static/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
« no previous file with comments | « chrome/common/extensions/docs/contextMenus.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/static/contextMenus.html
diff --git a/chrome/common/extensions/docs/static/contextMenus.html b/chrome/common/extensions/docs/static/contextMenus.html
index 26af21fee830d886b7e224d7bceecf687997371e..7f903c6b423d01458c1712016975d05d2ffe3ce4 100644
--- a/chrome/common/extensions/docs/static/contextMenus.html
+++ b/chrome/common/extensions/docs/static/contextMenus.html
@@ -20,6 +20,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>
kathyw 2011/07/12 22:17:54 We can tighten this up a bit, plus add line breaks
asargent_no_longer_on_chrome 2011/07/14 17:33:30 > * Should targetUrlPatterns be documentUrlPattern
+
<h2 id="manifest">Manifest</h2>
<p>You must declare the "contextMenus" permission
in your extension's manifest to use the API.
« no previous file with comments | « chrome/common/extensions/docs/contextMenus.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698