15821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Copyright (c) 2012 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.commands.onCommand.addListener(function(command) { 65821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) console.log('onCommand event received for message: ', command); 75821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)}); 8