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

Unified Diff: chrome/renderer/resources/extension_process_bindings.js

Issue 339041: Rename getTabContentses to getExtensionTabs. (Closed)
Patch Set: Update docs Created 11 years, 2 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/renderer/resources/extension_process_bindings.js
diff --git a/chrome/renderer/resources/extension_process_bindings.js b/chrome/renderer/resources/extension_process_bindings.js
index 7f6443d002a7db8936119d8f961c354e4f6f4ee8..3d58c8dfdd8e0f1c2cd26fde1f75b01e960b5bf3 100644
--- a/chrome/renderer/resources/extension_process_bindings.js
+++ b/chrome/renderer/resources/extension_process_bindings.js
@@ -282,6 +282,11 @@ var chrome = chrome || {};
eventDef.parameters);
});
}
+
+
+ // getTabContentses is retained for backwards compatibility
+ // See http://crbug.com/21433
+ chrome.extension.getTabContentses = chrome.extension.getExtensionTabs
});
apiFunctions["tabs.connect"].handleRequest = function(tabId, connectInfo) {
@@ -321,7 +326,7 @@ var chrome = chrome || {};
return GetExtensionViews(windowId, "TOOLSTRIP");
}
- apiFunctions["extension.getTabContentses"].handleRequest =
+ apiFunctions["extension.getExtensionTabs"].handleRequest =
function(windowId) {
if (typeof(windowId) == "undefined")
windowId = -1;

Powered by Google App Engine
This is Rietveld 408576698