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

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

Issue 10134040: Add keybindings and webRequest examples to the transient background page (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
OLDNEW
1 PK/}4@—÷(UØØcookies/background.js// Copyright (c) 2012 The Chr omium Authors. All rights reserved. 1 PK/}4@—÷(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 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 "default_icon": "cookie.png" 365 "default_icon": "cookie.png"
366 }, 366 },
367 "background": { 367 "background": {
368 "scripts": ["background.js"] 368 "scripts": ["background.js"]
369 }, 369 },
370 "manifest_version": 2 370 "manifest_version": 2
371 } 371 }
372 PK/}4@—÷(UØØ cookies/background.jsPKü y“>ôì——  372 PK/}4@—÷(UØØ cookies/background.jsPKü y“>ôì—— 
373 cookies/cookie.pngPKIW?@OtK Òcookies/manag er.htmlPK[?@‰ÔÏÏ  373 cookies/cookie.pngPKIW?@OtK Òcookies/manag er.htmlPK[?@‰ÔÏÏ 
374 cookies/manager.jsPKIW?@)|¾””( #cookies/manife st.json699c4bffce6b427dec806441036bbb2fe83076c7PKpÝ$ 374 cookies/manager.jsPKIW?@)|¾””( #cookies/manife st.json699c4bffce6b427dec806441036bbb2fe83076c7PKpÝ$
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698