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

Side by Side Diff: chrome/test/data/extensions/samples/make_page_red/background.html

Issue 246037: Integrate browser actions with the wrench menu. Browser actions (Closed)
Patch Set: alphabetize Created 11 years, 2 months 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
(Empty)
1 <html>
2 <head>
3 <script>
4 // Called when the user clicks on the browser action.
5 chrome.browserAction.onClicked.addListener(function(windowId) {
6 chrome.tabs.executeScript(null, {code:"document.body.bgColor='red'"});
7 });
8 </script>
9 </head>
10 </html>
OLDNEW
« no previous file with comments | « chrome/common/page_action.cc ('k') | chrome/test/data/extensions/samples/make_page_red/icon.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698