Hi,

Learning http://dev.chromium.org/developers/design-documents/extensions/tabs-api
I found myself confused.
Looking at
 void update(int id, {[string url], [bool selected]}, [void callback
()])
 void create([{[string url], [int windowId], [int index], [bool
selected]}],  [void callback(Tab)])
and
 event onUpdated(int tabId, Object changedProps)
 event onCreated(Tab)

I don't quite understand the difference between callbacks and event
listeners. Say if I want to know exactly when a tab was updated or
created what shall I use: callback or event listener?


Thanks,
Denis
--~--~---------~--~----~------------~-------~--~----~
Chromium Discussion mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-discuss
-~----------~----~----~----~------~----~------~--~---

Reply via email to