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/api/topsites/magic8ball.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ªœT?ôŸž¬magic8ball/manifest.json{ 1 PKªœT?ôŸž¬magic8ball/manifest.json{
2 "name": "NTP prototyping extension", 2 "name": "NTP prototyping extension",
3 "version": "1.0", 3 "version": "1.0",
4 "description": "extension to prototype new NTP designs", 4 "description": "extension to prototype new NTP designs",
5 "chrome_url_overrides" : { 5 "chrome_url_overrides" : {
6 "newtab": "newTab.html" 6 "newtab": "newTab.html"
7 }, 7 },
8 "permissions": [ 8 "permissions": [
9 "experimental", 9 "experimental",
10 "chrome://favicon/", 10 "chrome://favicon/",
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 87
88 var span = eightBallWindow.querySelector('span'); 88 var span = eightBallWindow.querySelector('span');
89 span.textContent = data[rand].title; 89 span.textContent = data[rand].title;
90 span.style.backgroundImage = 'url(chrome://favicon/' + data[rand].url + ')'; 90 span.style.backgroundImage = 'url(chrome://favicon/' + data[rand].url + ')';
91 } 91 }
92 92
93 window.onload = function() { 93 window.onload = function() {
94 chrome.experimental.topSites.get(thumbnailsGotten); 94 chrome.experimental.topSites.get(thumbnailsGotten);
95 } 95 }
96 PKªœT?ôŸž¬( magic8ball/manifest.jsonfcaa8182e4 0d3ad7a4ed836e42d533cade008716PKŸT?o´´8rr Hmagi c8ball/newTab.cssPKŸT?›Ê,êå堁ímagic8ball/newTab .htmlPKŸT?Fž[¨õõ magic8ball/newTab.jsPK 7- 96 PKªœT?ôŸž¬( magic8ball/manifest.jsonfcaa8182e4 0d3ad7a4ed836e42d533cade008716PKŸT?o´´8rr Hmagi c8ball/newTab.cssPKŸT?›Ê,êå堁ímagic8ball/newTab .htmlPKŸT?Fž[¨õõ magic8ball/newTab.jsPK 7-
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698