OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 define([ | 5 define([ |
6 'console', | 6 'console', |
7 'monotonic_clock', | 7 'monotonic_clock', |
8 'timer', | 8 'timer', |
9 'mojo/public/bindings/js/connection', | 9 'mojo/public/js/bindings/connection', |
10 'mojo/bindings/js/core', | 10 'mojo/bindings/js/core', |
11 'mojo/apps/js/bindings/gl', | 11 'mojo/apps/js/bindings/gl', |
12 'mojo/apps/js/bindings/threading', | 12 'mojo/apps/js/bindings/threading', |
13 'mojo/services/native_viewport/native_viewport.mojom', | 13 'mojo/services/native_viewport/native_viewport.mojom', |
14 'mojo/public/interfaces/shell/shell.mojom', | 14 'mojo/public/interfaces/shell/shell.mojom', |
15 ], function(console, | 15 ], function(console, |
16 monotonicClock, | 16 monotonicClock, |
17 timer, | 17 timer, |
18 connection, | 18 connection, |
19 core, | 19 core, |
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 | 386 |
387 GLES2ClientImpl.prototype.contextLost = function() { | 387 GLES2ClientImpl.prototype.contextLost = function() { |
388 console.log('GLES2ClientImpl.prototype.contextLost'); | 388 console.log('GLES2ClientImpl.prototype.contextLost'); |
389 }; | 389 }; |
390 | 390 |
391 | 391 |
392 return function(handle) { | 392 return function(handle) { |
393 new connection.Connection(handle, SampleApp, shell.ShellProxy); | 393 new connection.Connection(handle, SampleApp, shell.ShellProxy); |
394 }; | 394 }; |
395 }); | 395 }); |
OLD | NEW |