OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 /** | 5 /** |
6 * A global object that gets used by the C++ interface. | 6 * A global object that gets used by the C++ interface. |
7 */ | 7 */ |
8 var media = (function() { | 8 var media = (function() { |
9 'use strict'; | 9 'use strict'; |
10 | 10 |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 source, event.ticksMillis, 'EVENT', event.type); | 186 source, event.ticksMillis, 'EVENT', event.type); |
187 } | 187 } |
188 }; | 188 }; |
189 | 189 |
190 // |chrome| is not defined during tests. | 190 // |chrome| is not defined during tests. |
191 if (window.chrome && window.chrome.send) { | 191 if (window.chrome && window.chrome.send) { |
192 chrome.send('getEverything'); | 192 chrome.send('getEverything'); |
193 } | 193 } |
194 return media; | 194 return media; |
195 }()); | 195 }()); |
OLD | NEW |