You can show a browser action for each tab using the tabId parameter to chrome.browserAction.setIcon(). If you track tab creations, moves, etc, you could do this for each window.
- a On Tue, Dec 8, 2009 at 5:19 AM, SS <[email protected]> wrote: > How can I show a different browserAction icon for each window? I want > to show a browserAction icon based on the number of tabs open in a > window. > > -- > > 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. > > > -- 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.
