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

Side by Side Diff: chrome/common/extensions/docs/examples/extensions/mappy.zip

Issue 8311007: Adding `content_security_policy` to the "Mappy" sample. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebasing. Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/common/extensions/docs/examples/extensions/mappy/background.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 PK|_›<‰\´mappy/background.html<script> 1 PK|_›<‰\´mappy/background.html<script>
2 // Global accessor that the popup uses. 2 // Global accessor that the popup uses.
3 var addresses = {}; 3 var addresses = {};
4 var selectedAddress = null; 4 var selectedAddress = null;
5 var selectedId = null; 5 var selectedId = null;
6 6
7 function updateAddress(tabId) { 7 function updateAddress(tabId) {
8 chrome.tabs.sendRequest(tabId, {}, function(address) { 8 chrome.tabs.sendRequest(tabId, {}, function(address) {
9 addresses[tabId] = address; 9 addresses[tabId] = address;
10 if (!address) { 10 if (!address) {
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 </head> 634 </head>
635 <body onload="map()"> 635 <body onload="map()">
636 <img id="map" onclick="window.close()"> 636 <img id="map" onclick="window.close()">
637 </body> 637 </body>
638 PK|_›<‰\´ mappy/background.htmlPK 638 PK|_›<‰\´ mappy/background.htmlPK
639 pU>ž½Ô ^;^; ;mappy/icon.pngPK|_›<ZêSÐïï(  Å?mappy/manifest.json81cf2d3975d7df8b58e5226c5b2b6df026446511PK |_›<‚6 639 pU>ž½Ô ^;^; ;mappy/icon.pngPK|_›<ZêSÐïï(  Å?mappy/manifest.json81cf2d3975d7df8b58e5226c5b2b6df026446511PK |_›<‚6
640  åAmappy/mappy_content_script.jsPK 640  åAmappy/mappy_content_script.jsPK
641 pU>Q²4ã㠁'Gmappy/marker.pngPKÆQe<{Š°P… 641 pU>Q²4ã㠁'Gmappy/marker.pngPKÆQe<{Š°P…
642 … 642 …
643  8Jmappy/popup.htmlPK¯ëN 643  8Jmappy/popup.htmlPK¯ëN
OLDNEW
« no previous file with comments | « no previous file | chrome/common/extensions/docs/examples/extensions/mappy/background.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698