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

Side by Side Diff: chrome/common/extensions/docs/examples/api/cookies.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
« no previous file with comments | « no previous file | chrome/common/extensions/docs/examples/api/cookies/manager.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+l-@—÷(UØØcookies/background.js// Copyright (c) 2012 The Chr omium Authors. All rights reserved. 1 PK+l-@—÷(UØØcookies/background.js// Copyright (c) 2012 The Chr omium 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 chrome.cookies.onChanged.addListener(function(info) { 5 chrome.cookies.onChanged.addListener(function(info) {
6 console.log("onChanged" + JSON.stringify(info)); 6 console.log("onChanged" + JSON.stringify(info));
7 }); 7 });
8 8
9 function focusOrCreateTab(url) { 9 function focusOrCreateTab(url) {
10 chrome.windows.getAll({"populate":true}, function(windows) { 10 chrome.windows.getAll({"populate":true}, function(windows) {
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 "icons": { "16": "cookie.png", "48": "cookie.png", "128": "cookie.png" }, 357 "icons": { "16": "cookie.png", "48": "cookie.png", "128": "cookie.png" },
358 "browser_action": { 358 "browser_action": {
359 "default_icon": "cookie.png" 359 "default_icon": "cookie.png"
360 }, 360 },
361 "background": { 361 "background": {
362 "scripts": ["background.js"] 362 "scripts": ["background.js"]
363 } 363 }
364 } 364 }
365 PK+l-@—÷(UØØ cookies/background.jsPK ©j>ôì——  365 PK+l-@—÷(UØØ cookies/background.jsPK ©j>ôì—— 
366 cookies/cookie.pngPK¹dK>ç¡ýŠÃàÒcookies/manag er.htmlPK6,@G£zz( Ç!cookies/manifest.jsona2ed26 f6e125718bbf89fc0132bffb7a57684465PK0t# 366 cookies/cookie.pngPK¹dK>ç¡ýŠÃàÒcookies/manag er.htmlPK6,@G£zz( Ç!cookies/manifest.jsona2ed26 f6e125718bbf89fc0132bffb7a57684465PK0t#
OLDNEW
« no previous file with comments | « no previous file | chrome/common/extensions/docs/examples/api/cookies/manager.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698