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

Side by Side Diff: sdk/lib/web_gl/dart2js/web_gl_dart2js.dart

Issue 1763213002: Change scripts to avoid generating things that bloat the compiled code (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Add annotation for Notification.data Created 4 years, 9 months 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 | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/scripts/dartmetadata.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /** 1 /**
2 * 3D programming in the browser. 2 * 3D programming in the browser.
3 */ 3 */
4 library dart.dom.web_gl; 4 library dart.dom.web_gl;
5 5
6 import 'dart:collection'; 6 import 'dart:collection';
7 import 'dart:_internal'; 7 import 'dart:_internal';
8 import 'dart:html'; 8 import 'dart:html';
9 import 'dart:html_common'; 9 import 'dart:html_common';
10 import 'dart:_native_typed_data'; 10 import 'dart:_native_typed_data';
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 class Buffer extends Interceptor { 394 class Buffer extends Interceptor {
395 // To suppress missing implicit constructor warnings. 395 // To suppress missing implicit constructor warnings.
396 factory Buffer._() { throw new UnsupportedError("Not supported"); } 396 factory Buffer._() { throw new UnsupportedError("Not supported"); }
397 } 397 }
398 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 398 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
399 // for details. All rights reserved. Use of this source code is governed by a 399 // for details. All rights reserved. Use of this source code is governed by a
400 // BSD-style license that can be found in the LICENSE file. 400 // BSD-style license that can be found in the LICENSE file.
401 401
402 402
403 @DocsEditable() 403 @DocsEditable()
404 @DomName('CHROMIUMSubscribeUniform')
405 @Experimental() // untriaged
406 @Native("CHROMIUMSubscribeUniform")
407 class ChromiumSubscribeUniform extends Interceptor {
408 // To suppress missing implicit constructor warnings.
409 factory ChromiumSubscribeUniform._() { throw new UnsupportedError("Not support ed"); }
410
411 @DomName('CHROMIUMSubscribeUniform.MOUSE_POSITION_CHROMIUM')
412 @DocsEditable()
413 @Experimental() // untriaged
414 static const int MOUSE_POSITION_CHROMIUM = 0x924C;
415
416 @DomName('CHROMIUMSubscribeUniform.SUBSCRIBED_VALUES_BUFFER_CHROMIUM')
417 @DocsEditable()
418 @Experimental() // untriaged
419 static const int SUBSCRIBED_VALUES_BUFFER_CHROMIUM = 0x924B;
420
421 @JSName('bindValuebufferCHROMIUM')
422 @DomName('CHROMIUMSubscribeUniform.bindValuebufferCHROMIUM')
423 @DocsEditable()
424 @Experimental() // untriaged
425 void bindValuebufferChromium(int target, ChromiumValuebuffer buffer) native;
426
427 @JSName('createValuebufferCHROMIUM')
428 @DomName('CHROMIUMSubscribeUniform.createValuebufferCHROMIUM')
429 @DocsEditable()
430 @Experimental() // untriaged
431 ChromiumValuebuffer createValuebufferChromium() native;
432
433 @JSName('deleteValuebufferCHROMIUM')
434 @DomName('CHROMIUMSubscribeUniform.deleteValuebufferCHROMIUM')
435 @DocsEditable()
436 @Experimental() // untriaged
437 void deleteValuebufferChromium(ChromiumValuebuffer buffer) native;
438
439 @JSName('isValuebufferCHROMIUM')
440 @DomName('CHROMIUMSubscribeUniform.isValuebufferCHROMIUM')
441 @DocsEditable()
442 @Experimental() // untriaged
443 bool isValuebufferChromium(ChromiumValuebuffer buffer) native;
444
445 @JSName('populateSubscribedValuesCHROMIUM')
446 @DomName('CHROMIUMSubscribeUniform.populateSubscribedValuesCHROMIUM')
447 @DocsEditable()
448 @Experimental() // untriaged
449 void populateSubscribedValuesChromium(int target) native;
450
451 @JSName('subscribeValueCHROMIUM')
452 @DomName('CHROMIUMSubscribeUniform.subscribeValueCHROMIUM')
453 @DocsEditable()
454 @Experimental() // untriaged
455 void subscribeValueChromium(int target, int subscriptions) native;
456
457 @JSName('uniformValuebufferCHROMIUM')
458 @DomName('CHROMIUMSubscribeUniform.uniformValuebufferCHROMIUM')
459 @DocsEditable()
460 @Experimental() // untriaged
461 void uniformValuebufferChromium(UniformLocation location, int target, int subs cription) native;
462 }
463 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
464 // for details. All rights reserved. Use of this source code is governed by a
465 // BSD-style license that can be found in the LICENSE file.
466
467
468 @DocsEditable()
404 @DomName('WebGLCompressedTextureATC') 469 @DomName('WebGLCompressedTextureATC')
405 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc / 470 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc /
406 @Experimental() 471 @Experimental()
407 @Native("WebGLCompressedTextureATC") 472 @Native("WebGLCompressedTextureATC")
408 class CompressedTextureAtc extends Interceptor { 473 class CompressedTextureAtc extends Interceptor {
409 // To suppress missing implicit constructor warnings. 474 // To suppress missing implicit constructor warnings.
410 factory CompressedTextureAtc._() { throw new UnsupportedError("Not supported") ; } 475 factory CompressedTextureAtc._() { throw new UnsupportedError("Not supported") ; }
411 476
412 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL') 477 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL')
413 @DocsEditable() 478 @DocsEditable()
(...skipping 5619 matching lines...) Expand 10 before | Expand all | Expand 10 after
6033 // BSD-style license that can be found in the LICENSE file. 6098 // BSD-style license that can be found in the LICENSE file.
6034 6099
6035 6100
6036 @DocsEditable() 6101 @DocsEditable()
6037 @DomName('WebGLRenderingContextBase') 6102 @DomName('WebGLRenderingContextBase')
6038 @Experimental() // untriaged 6103 @Experimental() // untriaged
6039 abstract class _WebGLRenderingContextBase extends Interceptor { 6104 abstract class _WebGLRenderingContextBase extends Interceptor {
6040 // To suppress missing implicit constructor warnings. 6105 // To suppress missing implicit constructor warnings.
6041 factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not suppo rted"); } 6106 factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not suppo rted"); }
6042 } 6107 }
OLDNEW
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/scripts/dartmetadata.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698