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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 74013003: Added docs to canvaselement. Giving it docs for all members. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index 97ffe1f69c7dbf1196579e4eb6f3ce0fc17aac98..25bbf904e1035ad9b6235fc16d029ff754373fa4 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -1144,6 +1144,16 @@ class CanvasElement extends HtmlElement implements CanvasImageSource native "HTM
CanvasRenderingContext2D get context2D =>
JS('Null|CanvasRenderingContext2D', '#.getContext(#)', this, '2d');
+ /**
+ * Returns a new Web GL context for this canvas.
+ *
+ * ## Other resources
+ *
+ * * [WebGL fundamentals]
+ * (http://www.html5rocks.com/en/tutorials/webgl/webgl_fundamentals/) from
+ * HTML5Rocks.
+ * * [WebGL homepage] (http://get.webgl.org/).
+ */
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.FIREFOX)
@Experimental()
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698