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

Unified Diff: chrome/test/data/extensions/api_test/browser_action/background.html

Issue 276010: Remove the implicit wrench menu items for browser actions. (Closed)
Patch Set: Rebase 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/extensions/api_test/browser_action/background.html
diff --git a/chrome/test/data/extensions/api_test/browser_action/background.html b/chrome/test/data/extensions/api_test/browser_action/background.html
new file mode 100755
index 0000000000000000000000000000000000000000..5379de0f695c947b2b3829a78b05e2ff149e74e8
--- /dev/null
+++ b/chrome/test/data/extensions/api_test/browser_action/background.html
@@ -0,0 +1,12 @@
+<html>
+<head>
+<script>
+ // Called when the user clicks on the browser action.
+ chrome.browserAction.onClicked.addListener(function(windowId) {
+ chrome.tabs.executeScript(null, {code:"document.body.bgColor='red'"});
+ });
+
+ chrome.test.notifyPass();
+</script>
+</head>
+</html>
« no previous file with comments | « chrome/renderer/resources/extension_process_bindings.js ('k') | chrome/test/data/extensions/api_test/browser_action/icon.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698