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

Unified Diff: chrome/test/data/extensions/uitest/event_sink/test.html

Issue 180016: Extension API Renaming/Consistency changes (Closed)
Patch Set: render docs Created 11 years, 4 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/test/data/extensions/samples/tabs/tabs_api.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/uitest/event_sink/test.html
diff --git a/chrome/test/data/extensions/uitest/event_sink/test.html b/chrome/test/data/extensions/uitest/event_sink/test.html
index 546224369df55eabad5caf8277bdb8dcf54c554d..284d8c5ba5f6b3dac2f2d7e33facb51e5f68e7ea 100644
--- a/chrome/test/data/extensions/uitest/event_sink/test.html
+++ b/chrome/test/data/extensions/uitest/event_sink/test.html
@@ -15,7 +15,7 @@ HOLA!!! If you dont see the message DONE, then there is an error in the script.
});
// Window events.
- chrome.windows.onCreated.addListener(function(windowId) {
+ chrome.windows.onCreated.addListener(function(createInfo) {
portToAutomation.postMessage(chrome.windows.onCreated.eventName_);
});
chrome.windows.onRemoved.addListener(function(windowId) {
@@ -49,8 +49,8 @@ HOLA!!! If you dont see the message DONE, then there is an error in the script.
});
// Bookmark events.
- chrome.bookmarks.onAdded.addListener(function(info) {
- portToAutomation.postMessage(chrome.bookmarks.onAdded.eventName_);
+ chrome.bookmarks.onCreated.addListener(function(info) {
+ portToAutomation.postMessage(chrome.bookmarks.onCreated.eventName_);
});
chrome.bookmarks.onRemoved.addListener(function(info) {
portToAutomation.postMessage(chrome.bookmarks.onRemoved.eventName_);
@@ -62,7 +62,7 @@ HOLA!!! If you dont see the message DONE, then there is an error in the script.
portToAutomation.postMessage(chrome.bookmarks.onMoved.eventName_);
});
chrome.bookmarks.onChildrenReordered.addListener(function(bookmarkId,
- children) {
+ reorderInfo) {
portToAutomation.postMessage(
chrome.bookmarks.onChildrenReordered.eventName_);
});
« no previous file with comments | « chrome/test/data/extensions/samples/tabs/tabs_api.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698