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

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

Issue 224012: Renames getTabContentses to getExtensionTabs (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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
===================================================================
--- chrome/renderer/resources/extension_process_bindings.js (revision 28552)
+++ chrome/renderer/resources/extension_process_bindings.js (working copy)
@@ -289,6 +289,11 @@
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) {
@@ -316,7 +321,7 @@
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