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

Unified Diff: chrome/test/data/extensions/api_test/old_page_actions/page.html

Issue 346006: New event style for pageAction API.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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
« no previous file with comments | « chrome/test/data/extensions/api_test/old_page_actions/manifest.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/old_page_actions/page.html
===================================================================
--- chrome/test/data/extensions/api_test/old_page_actions/page.html (revision 0)
+++ chrome/test/data/extensions/api_test/old_page_actions/page.html (revision 0)
@@ -0,0 +1,13 @@
+<html>
+<body>
+<script>
+
+// Enable the page action on this tab.
+chrome.tabs.getSelected(null, function(tab) {
+ chrome.pageActions.enableForTab("action", {"tabId":tab.id, "url":tab.url});
+ chrome.test.notifyPass();
+});
+
+</script>
+</body>
+</html>
Property changes on: chrome\test\data\extensions\api_test\old_page_actions\page.html
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/test/data/extensions/api_test/old_page_actions/manifest.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698