DescriptionUpdate chrome.power example extension.
This renames some "level" variables to "state" to make it
more clear that they don't directly map to the API's "level"
enum. It also registers chrome.runtime.onStartup and
chrome.windows.onCreated (to work around onStartup apparently
not firing on Chrome OS) listeners and switches from
localStorage to chrome.storage.local.
BUG=none
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192992
Patch Set 1 #Patch Set 2 : minor updates #Patch Set 3 : s/loadSavedState/GetSavedState/ #Patch Set 4 : add chrome.windows.onCreated listener #
Total comments: 1
Patch Set 5 : use chrome.storage.local instead of localStorage #Patch Set 6 : update a comment #
Total comments: 3
Patch Set 7 : remove tabs permission and bump to 1.6 #
Messages
Total messages: 9 (0 generated)
|