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

Unified Diff: Source/core/dom/DataView.idl

Issue 606653006: bindings: Adds DOMArrayBuffer, etc. as thin wrappers for ArrayBuffer, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 2 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 | « Source/core/dom/DOMTypedArray.cpp ('k') | Source/core/dom/Float32Array.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DataView.idl
diff --git a/Source/core/html/canvas/DataView.idl b/Source/core/dom/DataView.idl
similarity index 96%
rename from Source/core/html/canvas/DataView.idl
rename to Source/core/dom/DataView.idl
index 9744bdae8f3f01d738c369c3f4dd38df635737ee..7332c719208db3a20831882343aa1161ad3f8f46 100644
--- a/Source/core/html/canvas/DataView.idl
+++ b/Source/core/dom/DataView.idl
@@ -23,10 +23,11 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// https://www.khronos.org/registry/typedarray/specs/latest/#DATAVIEW
+
[
- Custom=Wrap,
- CustomConstructor(ArrayBuffer buffer, optional unsigned long byteOffset, optional unsigned long byteLength),
Exposed=(Window,Worker),
+ ImplementedAs=DOMDataView,
TypeChecking=Interface,
] interface DataView : ArrayBufferView {
// All these methods raise an exception if they would read or write beyond the end of the view.
« no previous file with comments | « Source/core/dom/DOMTypedArray.cpp ('k') | Source/core/dom/Float32Array.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698