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

Side by Side Diff: chrome/common/extensions/docs/examples/api/pageAction/pageaction_by_content.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Šn-@U‹W””#pageaction_by_content/background.js// Copyright (c ) 2012 The Chromium Authors. All rights reserved. 1 PKŠn-@U‹W””#pageaction_by_content/background.js// Copyright (c ) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Called when a message is passed. We assume that the content script 5 // Called when a message is passed. We assume that the content script
6 // wants to show the page action. 6 // wants to show the page action.
7 function onRequest(request, sender, sendResponse) { 7 function onRequest(request, sender, sendResponse) {
8 // Show the page action for the tab that the sender (content script) 8 // Show the page action for the tab that the sender (content script)
9 // was on. 9 // was on.
10 chrome.pageAction.show(sender.tab.id); 10 chrome.pageAction.show(sender.tab.id);
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 ÆwD&õ¿ 356 ÆwD&õ¿
357 ؋ñnö¼»§P÷-ÄÍß“Àñàº"]7YLLIô(1ÆýELw¡ÑâQX4FiÑL„-w‘ñú‰Úþà`¨ 357 ؋ñnö¼»§P÷-ÄÍß“Àñàº"]7YLLIô(1ÆýELw¡ÑâQX4FiÑL„-w‘ñú‰Úþà`¨
358 € 358 €
359 RÙ´ë—&âǎ: 359 RÙ´ë—&âǎ:
360 ¯Í€B$ŠÆ"Ho£u=Æµ›˜˜b 360 ¯Í€B$ŠÆ"Ho£u=Æµ›˜˜b
361 hQáÏSUˆ¨D/YŠñYW,ÅõU³gƒýÄôê‡îWþ 361 hQáÏSUˆ¨D/YŠñYW,ÅõU³gƒýÄôê‡îWþ
362 ü 362 ü
363 þŸlÍ©B+IEND®B`‚PKŠn-@U‹W””# pageaction_by_ content/background.jsPK¹dK>vÄÿææ& Õpageaction_by _content/contentscript.jsPK#‘,@O¾Ðmm#( ÿpageactio n_by_content/manifest.json33f0ca9200f88e609c7ec7dc47287d00fad248fbPK © j>.S$=  363 þŸlÍ©B+IEND®B`‚PKŠn-@U‹W””# pageaction_by_ content/background.jsPK¹dK>vÄÿææ& Õpageaction_by _content/contentscript.jsPK#‘,@O¾Ðmm#( ÿpageactio n_by_content/manifest.json33f0ca9200f88e609c7ec7dc47287d00fad248fbPK © j>.S$= 
364   364  
365 & ­pageaction_by_content/sandwich-128.pngPK ©j>TR_P P% ‘&pageaction_by_content/sandwich-19.pngPK ©j>sì ãå å % $)pageaction_by_content/sandwich-48.pngPK L3 365 & ­pageaction_by_content/sandwich-128.pngPK ©j>TR_P P% ‘&pageaction_by_content/sandwich-19.pngPK ©j>sì ãå å % $)pageaction_by_content/sandwich-48.pngPK L3
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698