Sorry, didn't see this email before filing a ticket
(http://code.google.com/p/chromium/issues/detail?id=29326).
I just tried with the following basic event listeners and I'm not seeing
anything. Am I doing something wrong? I'm doing this in my background
page, if that has any bearing on things.
chrome.bookmarks.onCreated.addListener(function(id, bookmark) {
console.log('bookmark created'); });
chrome.bookmarks.onMoved.addListener(function(id, moveInfo) {
console.log('bookmark moved'); });
chrome.bookmarks.onChanged.addListener(function(id, changeInfo) {
console.log('bookmark changed'); });
chrome.bookmarks.onChildrenReordered.addListener(function(id,
reorderInfo) { console.log('bookmark reordered'); });
chrome.bookmarks.onRemoved.addListener(function(id, removeInfo) {
console.log('bookmark removed'); });
On 12/3/2009 9:40, Erik Kay wrote:
> Hi Colin,
>
> I just tested this out and it works for me.
>
> Can you put together a reduced test case that I can look at?
>
> Erik
>
>
> On Wed, Dec 2, 2009 at 3:49 PM, Colin Bleckner <[email protected]
> <mailto:[email protected]>> wrote:
>
> I've been trying to get any of the bookmark events to fire and haven't
> had any luck. I'm adding a listener to my background page with:
>
> chrome.bookmarks.onCreated.addListener(LocalBookmarkChangeHandler);
>
> And then just trying to print something to console when the event is
> triggered. But no amount of bookmark creation will trigger anything.
> Anyone else got this to work?
>
> Colin
>
> --
>
> You received this message because you are subscribed to the Google
> Groups "Chromium-extensions" group.
> To post to this group, send email to
> [email protected]
> <mailto:[email protected]>.
> To unsubscribe from this group, send email to
> [email protected]
> <mailto:chromium-extensions%[email protected]>.
> For more options, visit this group at
> http://groups.google.com/group/chromium-extensions?hl=en.
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Chromium-extensions" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/chromium-extensions?hl=en.