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

Side by Side Diff: chrome/common/extensions/docs/examples/api/pageAction/set_icon.zip

Issue 9289057: Changing manifest to v2 extension samples (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Adding zip files after rebasing with master Created 8 years, 10 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
1 PK¹dK>aص€set_icon/background.html<html> 1 PK¹dK>aص€set_icon/background.html<html>
2 <head> 2 <head>
3 <script> 3 <script>
4 var lastTabId = 0; 4 var lastTabId = 0;
5 var tab_clicks = {}; 5 var tab_clicks = {};
6 6
7 chrome.tabs.onSelectionChanged.addListener(function(tabId) { 7 chrome.tabs.onSelectionChanged.addListener(function(tabId) {
8 lastTabId = tabId; 8 lastTabId = tabId;
9 chrome.pageAction.show(lastTabId); 9 chrome.pageAction.show(lastTabId);
10 }); 10 });
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 "page_action": { 269 "page_action": {
270 "default_title": "First icon" 270 "default_title": "First icon"
271 } 271 }
272 } 272 }
273 PK¹dK>aص€ set_icon/background.htmlPK ©j>ˆÀî3ï 273 PK¹dK>aص€ set_icon/background.htmlPK ©j>ˆÀî3ï
274 ï 274 ï
275  6set_icon/icon1.pngPK ©j>fRü¤× 275  6set_icon/icon1.pngPK ©j>fRü¤×
276 × 276 ×
277  Uset_icon/icon2.pngPKS‘,@Zĵ(  \ 277  Uset_icon/icon2.pngPKS‘,@Zĵ(  \
278 set_icon/manifest.json8d7f891bdbec9f378a3b215cd23d9ba5dbd69455PK2 ¦ 278 set_icon/manifest.json8d7f891bdbec9f378a3b215cd23d9ba5dbd69455PK2 ¦
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698