| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 vrShellUi = (function() { | 5 var vrShellUi = (function() { |
| 6 'use strict'; | 6 'use strict'; |
| 7 | 7 |
| 8 var scene = new ui.Scene(); | 8 var scene = new ui.Scene(); |
| 9 var uiElements = []; | 9 var uiElements = []; |
| 10 | 10 |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 scene.updateElement(element.uiElementId, update); | 105 scene.updateElement(element.uiElementId, update); |
| 106 } | 106 } |
| 107 | 107 |
| 108 scene.flush(); | 108 scene.flush(); |
| 109 } | 109 } |
| 110 | 110 |
| 111 function domLoaded() { | 111 function domLoaded() { |
| 112 api.domLoaded(); | 112 api.domLoaded(); |
| 113 } | 113 } |
| 114 | 114 |
| 115 function command(dict) { |
| 116 } |
| 117 |
| 115 return { | 118 return { |
| 116 initialize: initialize, | 119 initialize: initialize, |
| 120 command: command, |
| 117 }; | 121 }; |
| 118 })(); | 122 })(); |
| 119 | 123 |
| 120 document.addEventListener('DOMContentLoaded', vrShellUi.initialize); | 124 document.addEventListener('DOMContentLoaded', vrShellUi.initialize); |
| OLD | NEW |