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

Unified Diff: chrome/test/data/extensions/samples/test_page_action/background.html

Issue 306059: Merge 29556 - Revert "Revert 29457, because this is making ExtensionBrowserTe... (Closed) Base URL: svn://chrome-svn/chrome/branches/223/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/samples/test_browser_action/background.html ('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/samples/test_page_action/background.html
===================================================================
--- chrome/test/data/extensions/samples/test_page_action/background.html (revision 29822)
+++ chrome/test/data/extensions/samples/test_page_action/background.html (working copy)
@@ -14,12 +14,12 @@
chrome.pageAction.show(info.tabId);
} else {
chrome.pageAction.hide(info.tabId);
- setTimeout(function() { chrome.pageAction.show(info.tabId); }, 1000);
+ setTimeout(function() { chrome.pageAction.show(info.tabId); }, 200);
}
chrome.pageAction.setTitle({title: "click:" + clicks, tabId: info.tabId});
chrome.pageAction.setBadgeTextColor({
tabId: info.tabId,
- color: [0, 255, clicks * 50, 255]
+ color: [255, 255, clicks * 50, 255]
});
chrome.pageAction.setBadgeBackgroundColor({
tabId: info.tabId,
@@ -27,7 +27,7 @@
});
chrome.pageAction.setBadgeText({
tabId: info.tabId,
- text: clicks + ""
+ text: i + ""
});
// We only have 2 icons, but cycle through 3 icons to test the
Property changes on: chrome\test\data\extensions\samples\test_page_action\background.html
___________________________________________________________________
Modified: svn:mergeinfo
Merged /trunk/src/chrome/test/data/extensions/samples/test_page_action/background.html:r29556
« no previous file with comments | « chrome/test/data/extensions/samples/test_browser_action/background.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698