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

Unified Diff: client/dom/idl/dart/dart.idl

Issue 9845043: Rename client/{dom,html} to lib/{dom,html} . (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/dom/frog/dom_frog.dart ('k') | client/dom/idl/dart/webkit-supplemental.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/idl/dart/dart.idl
===================================================================
--- client/dom/idl/dart/dart.idl (revision 5796)
+++ client/dom/idl/dart/dart.idl (working copy)
@@ -1,229 +0,0 @@
-
-// This file introduces / supplements and forces Dart declarations.
-
-module default {
- NamedNodeMap implements sequence<Node>;
- NodeList implements sequence<Node>;
- HTMLCollection implements sequence<Node>;
- MediaList implements sequence<DOMString>;
- StyleSheetList implements sequence<StyleSheet>;
- TouchList implements sequence<Touch>;
- CanvasPixelArray implements sequence<int>;
-
- Float32Array implements sequence<double>;
- Float64Array implements sequence<double>;
- Int8Array implements sequence<int>;
- Int16Array implements sequence<int>;
- Int32Array implements sequence<int>;
- Uint8Array implements sequence<int>;
- Uint16Array implements sequence<int>;
- Uint32Array implements sequence<int>;
-
- // Is List<int> because inherits from Uint8Array:
- // Uint8ClampedArray implements sequence<int>;
-}
-
-module core {
- [Supplemental]
- interface Document {
- [Suppressed] object getCSSCanvasContext(in DOMString contextId, in DOMString name, in long width, in long height);
- CanvasRenderingContext getCSSCanvasContext(in DOMString contextId, in DOMString name, in long width, in long height);
- };
-};
-
-module dom {
- // Force NodeSelector. WebKit defines these operations directly.
- interface NodeSelector {
- Element querySelector(in DOMString selectors);
- NodeList querySelectorAll(in DOMString selectors);
- };
- Document implements NodeSelector;
- DocumentFragment implements NodeSelector;
- Element implements NodeSelector;
-
- // Force ElementTraversal. WebKit defines these directly.
- interface ElementTraversal {
- getter attribute unsigned long childElementCount;
- getter attribute Element firstElementChild;
- getter attribute Element lastElementChild;
- getter attribute Element nextElementSibling;
- getter attribute Element previousElementSibling;
- };
- Element implements ElementTraversal;
-};
-
-module html {
- [Supplemental]
- interface Console {
- [Suppressed] void debug();
- [CallWith=ScriptArguments|CallStack] void debug(DOMObject arg);
- [Suppressed] void error();
- [CallWith=ScriptArguments|CallStack] void error(DOMObject arg);
- [Suppressed] void info();
- [CallWith=ScriptArguments|CallStack] void info(DOMObject arg);
- [Suppressed] void log();
- [CallWith=ScriptArguments|CallStack] void log(DOMObject arg);
- [Suppressed] void warn();
- [CallWith=ScriptArguments|CallStack] void warn(DOMObject arg);
- [Suppressed] void trace();
- [CallWith=ScriptArguments|CallStack] void trace(DOMObject arg);
- [Suppressed] void assert(in boolean condition);
- [CallWith=ScriptArguments|CallStack] void assertCondition(boolean condition, DOMObject arg);
- [Suppressed] void timeEnd(in DOMString title);
- [CallWith=ScriptArguments|CallStack] void timeEnd(DOMString title, DOMObject arg);
- [Suppressed] void timeStamp();
- [CallWith=ScriptArguments|CallStack] void timeStamp(DOMObject arg);
- [Suppressed] void group();
- [CallWith=ScriptArguments|CallStack] void group(DOMObject arg);
- [Suppressed] void groupCollapsed();
- [CallWith=ScriptArguments|CallStack] void groupCollapsed(DOMObject arg);
- };
-
- [Supplemental]
- interface HTMLOptionsCollection {
- [Suppressed] void add(in optional HTMLOptionElement element, in optional long before);
- };
-
- [Supplemental]
- interface ImageData {
- readonly attribute CanvasPixelArray data;
- };
-
- [Supplemental]
- interface WebGLContextEvent {
- [Suppressed] void initEvent(in optional DOMString eventTypeArg,
- in optional boolean canBubbleArg,
- in optional boolean cancelableArg,
- in optional DOMString statusMessageArg);
- };
-};
-
-module html {
- [Supplemental]
- interface WebGLRenderingContext {
-
- //void compressedTexImage2D(in unsigned long target, in long level, in unsigned long internalformat, in unsigned long width, in unsigned long height, in long border, in unsigned long imageSize, const void* data);
- //void compressedTexSubImage2D(in unsigned long target, in long level, in long xoffset, in long yoffset, in unsigned long width, in unsigned long height, in unsigned long format, in unsigned long imageSize, const void* data);
-
- any getBufferParameter(in unsigned long target, in unsigned long pname) raises(DOMException);
- [Suppressed, StrictTypeChecking, Custom] void getBufferParameter();
-
- any getFramebufferAttachmentParameter(in unsigned long target, in unsigned long attachment, in unsigned long pname) raises(DOMException);
- [Suppressed, StrictTypeChecking, Custom] void getFramebufferAttachmentParameter();
-
- any getParameter(in unsigned long pname) raises(DOMException);
- [Suppressed, StrictTypeChecking, Custom] void getParameter();
-
- any getProgramParameter(in WebGLProgram program, in unsigned long pname) raises(DOMException);
- [Suppressed, StrictTypeChecking, Custom] void getProgramParameter();
-
- any getRenderbufferParameter(in unsigned long target, in unsigned long pname) raises(DOMException);
- [Suppressed, StrictTypeChecking, Custom] void getRenderbufferParameter();
-
- any getShaderParameter(in WebGLShader shader, in unsigned long pname) raises(DOMException);
- [Suppressed, StrictTypeChecking, Custom] void getShaderParameter() raises(DOMException);
-
- // TBD
- // void glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision);
-
- DOMString[] getSupportedExtensions();
- [Suppressed, StrictTypeChecking, Custom] void getSupportedExtensions();
-
- any getTexParameter(in unsigned long target, in unsigned long pname) raises(DOMException);
- [Suppressed, StrictTypeChecking, Custom] void getTexParameter();
-
- any getUniform(in WebGLProgram program, in WebGLUniformLocation location) raises(DOMException);
- [Suppressed, StrictTypeChecking, Custom] void getUniform();
-
- any getVertexAttrib(in unsigned long index, in unsigned long pname) raises(DOMException);
- [Suppressed, StrictTypeChecking, Custom] void getVertexAttrib();
- };
-}
-
-
-
-module canvas {
- // TODO(dstockwell): Define these manually.
- [Supplemental]
- interface Float32Array {
- [Suppressed] void set();
- [DartName=setElements, Custom] void set(in any array, in optional unsigned long offset);
- };
- [Supplemental]
- interface Float64Array {
- [Suppressed] void set();
- [DartName=setElements, Custom] void set(in any array, in optional unsigned long offset);
- };
- [Supplemental]
- interface Int16Array {
- [Suppressed] void set();
- [DartName=setElements, Custom] void set(in any array, in optional unsigned long offset);
- };
- [Supplemental]
- interface Int32Array {
- [Suppressed] void set();
- [DartName=setElements, Custom] void set(in any array, in optional unsigned long offset);
- };
- [Supplemental]
- interface Int8Array {
- [Suppressed] void set();
- [DartName=setElements, Custom] void set(in any array, in optional unsigned long offset);
- };
- [Supplemental]
- interface Uint16Array {
- [Suppressed] void set();
- [DartName=setElements, Custom] void set(in any array, in optional unsigned long offset);
- };
- [Supplemental]
- interface Uint32Array {
- [Suppressed] void set();
- [DartName=setElements, Custom] void set(in any array, in optional unsigned long offset);
- };
- [Supplemental]
- interface Uint8Array {
- [Suppressed] void set();
- [DartName=setElements, Custom] void set(in any array, in optional unsigned long offset);
- };
-
- [Supplemental]
- interface Uint8ClampedArray {
- // Avoid 'overriding static member BYTES_PER_ELEMENT'.
- [Suppressed] const unsigned int BYTES_PER_ELEMENT = 1;
-
- [Suppressed] void set();
- [DartName=setElements, Custom] void set(in any array, in optional unsigned long offset);
- };
-
- [NumericIndexedGetter, CustomIndexedSetter]
- interface CanvasPixelArray {
- readonly attribute long length;
- };
-};
-
-module storage {
- // TODO(vsm): Define new names for these (see b/4436830).
- [Supplemental]
- interface IDBCursor {
- [DartName=continueFunction] void continue(in optional IDBKey key);
- };
- [Supplemental]
- interface IDBIndex {
- [DartName=getObject] IDBRequest get(in IDBKey key);
- };
- [Supplemental]
- interface IDBObjectStore {
- [DartName=getObject] IDBRequest get(in IDBKey key);
- };
-};
-
-module html {
- [Supplemental, Callback] // Add missing Callback attribute.
- interface VoidCallback {
- };
-};
-
-module svg {
- interface SVGNumber {
- [StrictTypeChecking, Custom] attribute double value;
- };
-}
« no previous file with comments | « client/dom/frog/dom_frog.dart ('k') | client/dom/idl/dart/webkit-supplemental.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698