15821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Copyright (c) 2011 The Chromium Authors. All rights reserved. 25821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be 35821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// found in the LICENSE file. 45821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) 55821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)chrome.tabs.getSelected(null, function(tab) { 65821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) chrome.pageAction.show(tab.id); 75821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)}); 8