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

Side by Side Diff: chrome/common/extensions/docs/examples/api/i18n/cld.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 PKJ,@¥é§..cld/background.js// Copyright (c) 2009 The Chromiu m Authors. All rights reserved. Use of this 1 PKJ,@¥é§..cld/background.js// Copyright (c) 2009 The Chromiu m Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 var selectedId = -1; 5 var selectedId = -1;
6 function refreshLanguage() { 6 function refreshLanguage() {
7 chrome.tabs.detectLanguage(null, function(language) { 7 chrome.tabs.detectLanguage(null, function(language) {
8 console.log(language); 8 console.log(language);
9 if (language == " invalid_language_code") 9 if (language == " invalid_language_code")
10 language = "???"; 10 language = "???";
(...skipping 23 matching lines...) Expand all
34 "scripts": ["background.js"] 34 "scripts": ["background.js"]
35 }, 35 },
36 "permissions": [ 36 "permissions": [
37 "tabs" 37 "tabs"
38 ], 38 ],
39 "browser_action": { 39 "browser_action": {
40 "default_name": "Page Language" 40 "default_name": "Page Language"
41 } 41 }
42 } 42 }
43 PKJ,@¥é§.. cld/background.jsPKR,@. @ý÷÷( ]cld/manifest.json1d6e16eedea418d21ccee0d76bb5206079 712cbePK¦ƒ 43 PKJ,@¥é§.. cld/background.jsPKR,@. @ý÷÷( ]cld/manifest.json1d6e16eedea418d21ccee0d76bb5206079 712cbePK¦ƒ
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698