summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/resources
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-17 00:37:34 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-17 00:37:34 +0000
commit34b3680e16699f573c9ecedb580837d1638b8259 (patch)
treefc8c9d75856d593ed36b84ee17f1e33a46b0ec5d /chrome/renderer/resources
parentc06fa698843c03485193a433ec12acd352135db7 (diff)
downloadchromium_src-34b3680e16699f573c9ecedb580837d1638b8259.zip
chromium_src-34b3680e16699f573c9ecedb580837d1638b8259.tar.gz
chromium_src-34b3680e16699f573c9ecedb580837d1638b8259.tar.bz2
Move context menu module out of experimental.
BUG=48725,39508 Review URL: http://codereview.chromium.org/2840038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52784 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/resources')
-rw-r--r--chrome/renderer/resources/extension_process_bindings.js10
-rw-r--r--chrome/renderer/resources/renderer_extension_bindings.js2
2 files changed, 6 insertions, 6 deletions
diff --git a/chrome/renderer/resources/extension_process_bindings.js b/chrome/renderer/resources/extension_process_bindings.js
index 108577b..6e1689c 100644
--- a/chrome/renderer/resources/extension_process_bindings.js
+++ b/chrome/renderer/resources/extension_process_bindings.js
@@ -601,7 +601,7 @@ var chrome = chrome || {};
details, this.name, this.definition.parameters, "page action");
};
- apiFunctions["experimental.contextMenus.create"].handleRequest =
+ apiFunctions["contextMenus.create"].handleRequest =
function() {
var args = arguments;
var id = chromeHidden.contextMenus.nextId++;
@@ -611,7 +611,7 @@ var chrome = chrome || {};
return id;
};
- apiFunctions["experimental.contextMenus.create"].customCallback =
+ apiFunctions["contextMenus.create"].customCallback =
function(name, request, response) {
if (chrome.extension.lastError) {
return;
@@ -627,7 +627,7 @@ var chrome = chrome || {};
}
};
- apiFunctions["experimental.contextMenus.remove"].customCallback =
+ apiFunctions["contextMenus.remove"].customCallback =
function(name, request, response) {
if (chrome.extension.lastError) {
return;
@@ -636,7 +636,7 @@ var chrome = chrome || {};
delete chromeHidden.contextMenus.handlers[id];
};
- apiFunctions["experimental.contextMenus.update"].customCallback =
+ apiFunctions["contextMenus.update"].customCallback =
function(name, request, response) {
if (chrome.extension.lastError) {
return;
@@ -647,7 +647,7 @@ var chrome = chrome || {};
}
};
- apiFunctions["experimental.contextMenus.removeAll"].customCallback =
+ apiFunctions["contextMenus.removeAll"].customCallback =
function(name, request, response) {
if (chrome.extension.lastError) {
return;
diff --git a/chrome/renderer/resources/renderer_extension_bindings.js b/chrome/renderer/resources/renderer_extension_bindings.js
index c03c841..731da47 100644
--- a/chrome/renderer/resources/renderer_extension_bindings.js
+++ b/chrome/renderer/resources/renderer_extension_bindings.js
@@ -243,12 +243,12 @@ var chrome = chrome || {};
// Entire namespaces.
"bookmarks",
"browserAction",
+ "contextMenus",
"cookies",
"devtools",
"experimental.accessibility",
"experimental.bookmarkManager",
"experimental.clipboard",
- "experimental.contextMenus",
"experimental.extension",
"experimental.infobars",
"experimental.metrics",