Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Side by Side Diff: chrome/test/data/extensions/api_test/browser_action/update.html

Issue 306044: Refactor implementation of BrowserActions, and add support for (Closed)
Patch Set: Make it work on linux too Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 // Test that we can change various properties of the browser action. 4 // Test that we can change various properties of the browser action.
5 // The C++ verifies. 5 // The C++ verifies.
6 chrome.browserAction.setTitle({title: "Modified"}); 6 chrome.browserAction.setTitle({title: "Modified"});
7 chrome.browserAction.setIcon({iconIndex: 1}); 7 chrome.browserAction.setIcon({path: "icon2.png"});
8 chrome.browserAction.setBadgeText({text: "badge"}); 8 chrome.browserAction.setBadgeText({text: "badge"});
9 chrome.browserAction.setBadgeBackgroundColor({color: [255,255,255,255]}); 9 chrome.browserAction.setBadgeBackgroundColor({color: [255,255,255,255]});
10 10
11 chrome.test.notifyPass(); 11 chrome.test.notifyPass();
12 </script> 12 </script>
13 </head> 13 </head>
14 </html> 14 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698