| OLD | NEW |
| 1 #!mojo:js_content_handler | 1 #!mojo:js_content_handler |
| 2 | 2 |
| 3 // Copyright 2014 The Chromium Authors. All rights reserved. | 3 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 4 // Use of this source code is governed by a BSD-style license that can be | 4 // Use of this source code is governed by a BSD-style license that can be |
| 5 // found in the LICENSE file. | 5 // found in the LICENSE file. |
| 6 | 6 |
| 7 define("main", [ | 7 define("main", [ |
| 8 "console", | 8 "console", |
| 9 "mojo/services/geometry/public/interfaces/geometry.mojom", | 9 "mojo/services/geometry/public/interfaces/geometry.mojom", |
| 10 "mojo/services/gpu/public/interfaces/command_buffer.mojom", |
| 11 "mojo/services/gpu/public/interfaces/gpu.mojom", |
| 12 "mojo/services/gpu/public/interfaces/viewport_parameter_listener.mojom", |
| 10 "mojo/services/native_viewport/public/interfaces/native_viewport.mojom", | 13 "mojo/services/native_viewport/public/interfaces/native_viewport.mojom", |
| 11 "mojo/services/public/js/application", | 14 "mojo/services/public/js/application", |
| 12 "mojo/services/public/interfaces/gpu/command_buffer.mojom", | |
| 13 "mojo/services/public/interfaces/gpu/gpu.mojom", | |
| 14 "mojo/services/public/interfaces/gpu/viewport_parameter_listener.mojom", | |
| 15 "mojo/public/js/core", | 15 "mojo/public/js/core", |
| 16 "services/js/modules/gl", | 16 "services/js/modules/gl", |
| 17 "services/js/modules/clock", | 17 "services/js/modules/clock", |
| 18 "timer", | 18 "timer", |
| 19 ], function(console, | 19 ], function(console, |
| 20 appModule, | 20 appModule, |
| 21 cbModule, | 21 cbModule, |
| 22 geoModule, | 22 geoModule, |
| 23 gpuModule, | 23 gpuModule, |
| 24 nvModule, | 24 nvModule, |
| (...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 this.gles2_.setDimensions(size); | 407 this.gles2_.setDimensions(size); |
| 408 } | 408 } |
| 409 | 409 |
| 410 onDestroyed() { | 410 onDestroyed() { |
| 411 this.quit(); | 411 this.quit(); |
| 412 } | 412 } |
| 413 } | 413 } |
| 414 | 414 |
| 415 return CubeDemo; | 415 return CubeDemo; |
| 416 }); | 416 }); |
| OLD | NEW |