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

Unified Diff: chrome/test/data/extensions/api_test/browser_action/update.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/update.html
diff --git a/chrome/test/data/extensions/api_test/browser_action/update.html b/chrome/test/data/extensions/api_test/browser_action/update.html
new file mode 100755
index 0000000000000000000000000000000000000000..6d69bd388ca3d615572abefb08949fe9e2d7800d
--- /dev/null
+++ b/chrome/test/data/extensions/api_test/browser_action/update.html
@@ -0,0 +1,14 @@
+<html>
+<head>
+<script>
+ // Test that we can change various properties of the browser action.
+ // The C++ verifies.
+ chrome.browserAction.setTitle({title: "Modified"});
+ chrome.browserAction.setIcon({iconIndex: 1});
+ chrome.browserAction.setBadgeText({text: "badge"});
+ chrome.browserAction.setBadgeBackgroundColor({color: [255,255,255,255]});
+
+ chrome.test.notifyPass();
+</script>
+</head>
+</html>

Powered by Google App Engine
This is Rietveld 408576698