OLD | NEW |
1 #!mojo:js_content_handler | 1 #!mojo 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/public/js/application", | 9 "mojo/services/public/js/application", |
10 "mojo/services/geometry/public/interfaces/geometry.mojom", | 10 "mojo/services/geometry/public/interfaces/geometry.mojom", |
11 "mojo/services/gpu/public/interfaces/gpu.mojom", | 11 "mojo/services/gpu/public/interfaces/gpu.mojom", |
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 this.gles2_.setDimensions(size); | 409 this.gles2_.setDimensions(size); |
410 } | 410 } |
411 | 411 |
412 onDestroyed() { | 412 onDestroyed() { |
413 this.quit(); | 413 this.quit(); |
414 } | 414 } |
415 } | 415 } |
416 | 416 |
417 return CubeDemo; | 417 return CubeDemo; |
418 }); | 418 }); |
OLD | NEW |