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 var ClientRenderer = (function() { | 5 var ClientRenderer = (function() { |
6 var ClientRenderer = function() { | 6 var ClientRenderer = function() { |
7 this.playerListElement = document.getElementById('player-list'); | 7 this.playerListElement = document.getElementById('player-list'); |
8 this.audioStreamListElement = document.getElementById('audio-stream-list'); | 8 this.audioStreamListElement = document.getElementById('audio-stream-list'); |
9 this.propertiesTable = document.getElementById('property-table'); | 9 this.propertiesTable = document.getElementById('property-table'); |
10 this.logTable = document.getElementById('log'); | 10 this.logTable = document.getElementById('log'); |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 | 232 |
233 ctx.fillStyle = '#a0a'; | 233 ctx.fillStyle = '#a0a'; |
234 ctx.fillRect(left, 0, middle - left, height); | 234 ctx.fillRect(left, 0, middle - left, height); |
235 ctx.fillStyle = '#aa0'; | 235 ctx.fillStyle = '#aa0'; |
236 ctx.fillRect(middle, 0, right - middle, height); | 236 ctx.fillRect(middle, 0, right - middle, height); |
237 } | 237 } |
238 }; | 238 }; |
239 | 239 |
240 return ClientRenderer; | 240 return ClientRenderer; |
241 })(); | 241 })(); |
OLD | NEW |