Sample code rotating icons of chrome extension