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

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

Issue 21287002: Fixing WebGLLoseContext on Firefox. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | tools/dom/scripts/generator.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 library dart.dom.web_gl; 1 library dart.dom.web_gl;
2 2
3 import 'dart:collection'; 3 import 'dart:collection';
4 import 'dart:_collection-dev' hide deprecated; 4 import 'dart:_collection-dev' hide deprecated;
5 import 'dart:html'; 5 import 'dart:html';
6 import 'dart:html_common'; 6 import 'dart:html_common';
7 import 'dart:typed_data'; 7 import 'dart:typed_data';
8 import 'dart:_js_helper' show Creates, JSName, Null, Returns, convertDartClosure ToJS; 8 import 'dart:_js_helper' show Creates, JSName, Null, Returns, convertDartClosure ToJS;
9 import 'dart:_foreign_helper' show JS; 9 import 'dart:_foreign_helper' show JS;
10 import 'dart:_interceptors' show Interceptor, JSExtendableArray; 10 import 'dart:_interceptors' show Interceptor, JSExtendableArray;
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 } 719 }
720 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 720 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
721 // for details. All rights reserved. Use of this source code is governed by a 721 // for details. All rights reserved. Use of this source code is governed by a
722 // BSD-style license that can be found in the LICENSE file. 722 // BSD-style license that can be found in the LICENSE file.
723 723
724 724
725 @DocsEditable() 725 @DocsEditable()
726 @DomName('WebGLLoseContext') 726 @DomName('WebGLLoseContext')
727 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/ 727 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/
728 @Experimental() 728 @Experimental()
729 class LoseContext extends Interceptor native "WebGLLoseContext" { 729 class LoseContext extends Interceptor native "WebGLLoseContext,WebGLExtensionLos eContext" {
730 730
731 @DomName('WebGLLoseContext.loseContext') 731 @DomName('WebGLLoseContext.loseContext')
732 @DocsEditable() 732 @DocsEditable()
733 void loseContext() native; 733 void loseContext() native;
734 734
735 @DomName('WebGLLoseContext.restoreContext') 735 @DomName('WebGLLoseContext.restoreContext')
736 @DocsEditable() 736 @DocsEditable()
737 void restoreContext() native; 737 void restoreContext() native;
738 } 738 }
739 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 739 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
(...skipping 2051 matching lines...) Expand 10 before | Expand all | Expand 10 after
2791 // for details. All rights reserved. Use of this source code is governed by a 2791 // for details. All rights reserved. Use of this source code is governed by a
2792 // BSD-style license that can be found in the LICENSE file. 2792 // BSD-style license that can be found in the LICENSE file.
2793 2793
2794 2794
2795 @DocsEditable() 2795 @DocsEditable()
2796 @DomName('WebGLVertexArrayObjectOES') 2796 @DomName('WebGLVertexArrayObjectOES')
2797 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ 2797 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
2798 @Experimental() // experimental 2798 @Experimental() // experimental
2799 class VertexArrayObject extends Interceptor native "WebGLVertexArrayObjectOES" { 2799 class VertexArrayObject extends Interceptor native "WebGLVertexArrayObjectOES" {
2800 } 2800 }
OLDNEW
« no previous file with comments | « no previous file | tools/dom/scripts/generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698