OLD | NEW |
1 PK n-@UW # pageaction_by_content/background.js// Copyright (c
) 2012 The Chromium Authors. All rights reserved. | 1 PK n-@UW # pageaction_by_content/background.js// Copyright (c
) 2012 The Chromium 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 // Called when a message is passed. We assume that the content script | 5 // Called when a message is passed. We assume that the content script |
6 // wants to show the page action. | 6 // wants to show the page action. |
7 function onRequest(request, sender, sendResponse) { | 7 function onRequest(request, sender, sendResponse) { |
8 // Show the page action for the tab that the sender (content script) | 8 // Show the page action for the tab that the sender (content script) |
9 // was on. | 9 // was on. |
10 chrome.pageAction.show(sender.tab.id); | 10 chrome.pageAction.show(sender.tab.id); |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 ÆwD&õ¿ | 356 ÆwD&õ¿ |
357 Øñnö¼»§P÷-ÄÍßÀñàº"]7YLLIô(1ÆýELw¡ÑâQX4FiÑL-wñúÚþà`¨ | 357 Øñnö¼»§P÷-ÄÍßÀñàº"]7YLLIô(1ÆýELw¡ÑâQX4FiÑL-wñúÚþà`¨ |
358 | 358 |
359 RÙ´ë&âÇ: | 359 RÙ´ë&âÇ: |
360 ¯ÍB$Æ"Ho£u=Ƶb | 360 ¯ÍB$Æ"Ho£u=Ƶb |
361 hQáÏSU¨D/YñYW,ÅõU³gýÄôêîWþ | 361 hQáÏSU¨D/YñYW,ÅõU³gýÄôêîWþ |
362 ü | 362 ü |
363 þlÍ©B+ IEND®B`PK n-@UW # pageaction_by_
content/background.jsPK ¹dK>vÄÿæ æ & |