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/public/js/application", | 10 "mojo/services/public/js/application", |
10 "mojo/services/public/interfaces/gpu/command_buffer.mojom", | 11 "mojo/services/public/interfaces/gpu/command_buffer.mojom", |
11 "mojo/services/public/interfaces/geometry/geometry.mojom", | |
12 "mojo/services/public/interfaces/gpu/gpu.mojom", | 12 "mojo/services/public/interfaces/gpu/gpu.mojom", |
13 "mojo/services/public/interfaces/native_viewport/native_viewport.mojom", | 13 "mojo/services/public/interfaces/native_viewport/native_viewport.mojom", |
14 "mojo/services/public/interfaces/gpu/viewport_parameter_listener.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, |
(...skipping 385 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 |