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

Side by Side Diff: chrome/common/extensions/docs/examples/api/infobars/sandwichbar.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Ɛ,@Ž´&*__sandwichbar/background.js/** 1 PKƐ,@Ž´&*__sandwichbar/background.js/**
2 * Handles requests sent by the content script. Shows an infobar. 2 * Handles requests sent by the content script. Shows an infobar.
3 */ 3 */
4 function onRequest(request, sender, sendResponse) { 4 function onRequest(request, sender, sendResponse) {
5 // The number of matches is sent in the request - pass it to the 5 // The number of matches is sent in the request - pass it to the
6 // infobar. 6 // infobar.
7 var url = "infobar.html#" + request.count; 7 var url = "infobar.html#" + request.count;
8 8
9 // Show the infobar on the tab where the request was sent. 9 // Show the infobar on the tab where the request was sent.
10 chrome.experimental.infobars.show({ 10 chrome.experimental.infobars.show({
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 RÙ´ë—&âǎ: 423 RÙ´ë—&âǎ:
424 ¯Í€B$ŠÆ"Ho£u=Æµ›˜˜b 424 ¯Í€B$ŠÆ"Ho£u=Æµ›˜˜b
425 hQáÏSUˆ¨D/YŠñYW,ÅõU³gƒýÄôê‡îWþ 425 hQáÏSUˆ¨D/YŠñYW,ÅõU³gƒýÄôê‡îWþ
426 ü 426 ü
427 þŸlÍ©B+IEND®B`‚PKƐ,@Ž´&*__ sandwichbar/ba ckground.jsPK¹dK>MC2𣣠427 þŸlÍ©B+IEND®B`‚PKƐ,@Ž´&*__ sandwichbar/ba ckground.jsPK¹dK>MC2š££
428  –sandwichbar/contentscript.jsPK¹dK>æ~ÀJ  ssandwichbar/infobar.htmlPKҐ,@ç!†)( ° sandwichbar/manifest.json8eb292df71e744b1ccba9ed72d8d10ae372a97fbPK © j>.S$=  428  –sandwichbar/contentscript.jsPK¹dK>æ~ÀJ  ssandwichbar/infobar.htmlPKҐ,@ç!†)( ° sandwichbar/manifest.json8eb292df71e744b1ccba9ed72d8d10ae372a97fbPK © j>.S$= 
429   429  
430  430 
431  è 431  è
432 sandwichbar/sandwich-128.pngPK ©j>Îkµ¿¿ Â)sand wichbar/sandwich-16.pngPK ©j>TR_PP º,sandwichbar /sandwich-19.pngPK ©j>sìãå å  C/sandwichbar/ sandwich-48.pngPKka9 432 sandwichbar/sandwich-128.pngPK ©j>Îkµ¿¿ Â)sand wichbar/sandwich-16.pngPK ©j>TR_PP º,sandwichbar /sandwich-19.pngPK ©j>sìãå å  C/sandwichbar/ sandwich-48.pngPKka9
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698