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

Side by Side Diff: chrome/common/extensions/docs/examples/api/tabs/pin.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ځv>º¬½½œœ 1 PKځv>º¬½½œœ
2 pin/READMEDemo Chrome Extension that uses the Tab Pinning API. Enables a new keyboard 2 pin/READMEDemo Chrome Extension that uses the Tab Pinning API. Enables a new keyboard
3 shortcut (Ctrl + Shift + P) to toggle pinning and unpinning of the current tab. 3 shortcut (Ctrl + Shift + P) to toggle pinning and unpinning of the current tab.
4 PK\p-@¸â¬Pððpin/background.js// Copyright (c) 2012 The Chromiu m Authors. All rights reserved. 4 PK\p-@¸â¬Pððpin/background.js// Copyright (c) 2012 The Chromiu m Authors. All rights reserved.
5 // Use of this source code is governed by a BSD-style license that can be 5 // Use of this source code is governed by a BSD-style license that can be
6 // found in the LICENSE file. 6 // found in the LICENSE file.
7 7
8 chrome.extension.onRequest.addListener( 8 chrome.extension.onRequest.addListener(
9 function(request, sender, sendResponse) { 9 function(request, sender, sendResponse) {
10 if (request.toggle_pin) { 10 if (request.toggle_pin) {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 "content_scripts": [ 43 "content_scripts": [
44 { 44 {
45 "matches": ["<all_urls>"], 45 "matches": ["<all_urls>"],
46 "js": ["inject.js"] 46 "js": ["inject.js"]
47 } 47 }
48 ] 48 ]
49 } 49 }
50 PKځv>º¬½½œœ 50 PKځv>º¬½½œœ
51  pin/READMEPK\p-@¸â¬Pðð Äpin/bac kground.jsPKځv>OHî¬II 51  pin/READMEPK\p-@¸â¬Pðð Äpin/bac kground.jsPKځv>OHî¬II
52  ãpin/inject.jsPKw‘,@ç/¯dhh( Wpin/ manifest.json907dc82db81f365f12d41fdddd563bc688dc6a0aPKî 52  ãpin/inject.jsPKw‘,@ç/¯dhh( Wpin/ manifest.json907dc82db81f365f12d41fdddd563bc688dc6a0aPKî
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698