1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // Show the page action icon for all tabs.
6 chrome.tabs.getAllInWindow(null, function(tabs) {
7 for (var i = 0, t; t = tabs[i]; i++)
8 chrome.pageAction.show(t.id);
9 chrome.test.sendMessage('ready');