diff options
Diffstat (limited to 'chrome/renderer/resources')
-rw-r--r-- | chrome/renderer/resources/extension_process_bindings.js | 10 | ||||
-rw-r--r-- | chrome/renderer/resources/renderer_extension_bindings.js | 2 |
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", |