Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(508)

Side by Side Diff: examples/js/cube.js

Issue 790213002: Restructure public side of geometry service. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Nits Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « examples/ganesh_app/texture_uploader.cc ('k') | examples/keyboard/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 });
OLDNEW
« no previous file with comments | « examples/ganesh_app/texture_uploader.cc ('k') | examples/keyboard/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698