1 // 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 3 // found in the LICENSE file. 4 5 [ 6 { 7 "namespace": "mediaPlayerPrivate", 8 "compiler_options": { 9 "implemented_in": "chrome/browser/chromeos/extensions/media_player_api.h" 10 }, 11 "description": "none", 12 "platforms": ["chromeos"], 13 "events": [ 14 { 15 "name": "onNextTrack", 16 "type": "function", 17 "description": "Notifies that the next track was requested.", 18 "parameters": [] 19 }, 20 { 21 "name": "onPrevTrack", 22 "type": "function", 23 "description": "Notifies that the previous tack was requested.", 24 "parameters": [] 25 }, 26 { 27 "name": "onTogglePlayState", 28 "type": "function", 29 "description": "Notifies that a play/pause toggle was requested.", 30 "parameters": [] 31 } 32 ] 33 } 34 ] 35