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

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

Issue 9997001: Fix transient page sample extension to use 'runtime' API, which landed just (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
« no previous file with comments | « no previous file | chrome/common/extensions/docs/examples/api/transientPage/basic/background.js » ('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äc„@Ç¿Þ3 1 PKäc„@Ç¿Þ3
2 3 2 3
3 basic/background.js// Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 basic/background.js// Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style license that can be 4 // Use of this source code is governed by a BSD-style license that can be
5 // found in the LICENSE file. 5 // found in the LICENSE file.
6 6
7 // Global variables only exist for the life of the page, so they get reset 7 // Global variables only exist for the life of the page, so they get reset
8 // each time the page is unloaded. 8 // each time the page is unloaded.
9 var counter = 1; 9 var counter = 1;
10 10
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 }, 188 },
189 "browser_action": { 189 "browser_action": {
190 "default_icon" : "icon.png", 190 "default_icon" : "icon.png",
191 "default_title": "Start Transient Page" 191 "default_title": "Start Transient Page"
192 } 192 }
193 } 193 }
194 PKäc„@Ç¿Þ3 194 PKäc„@Ç¿Þ3
195 3 195 3
196  basic/background.jsPKÛb„@bgXà††  d 196  basic/background.jsPKÛb„@bgXà††  d
197 basic/content.jsPKÛb„@XŽà** basic/icon.pngPK Ûb„@ï{t>¦¦( nbasic/manifest.json9683a215d1368a104 7072709fdca7b84853d396ePK$E 197 basic/content.jsPKÛb„@XŽà** basic/icon.pngPK Ûb„@ï{t>¦¦( nbasic/manifest.json9683a215d1368a104 7072709fdca7b84853d396ePK$E
OLDNEW
« no previous file with comments | « no previous file | chrome/common/extensions/docs/examples/api/transientPage/basic/background.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698