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

Unified Diff: Source/modules/encoding/TextDecoder.idl

Issue 15901002: Implement Encoding API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline webexposed global constructor tests Created 7 years, 5 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/modules/encoding/TextDecoder.cpp ('k') | Source/modules/encoding/TextEncoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/encoding/TextDecoder.idl
diff --git a/Source/core/inspector/InspectorOverlayHost.idl b/Source/modules/encoding/TextDecoder.idl
similarity index 80%
copy from Source/core/inspector/InspectorOverlayHost.idl
copy to Source/modules/encoding/TextDecoder.idl
index 2f1978e4e1f4aee160ec91e972d07b57db755d79..576d29807a0bc281223f178570a73f271b77c44b 100644
--- a/Source/core/inspector/InspectorOverlayHost.idl
+++ b/Source/modules/encoding/TextDecoder.idl
@@ -29,8 +29,11 @@
*/
[
- NoInterfaceObject
-] interface InspectorOverlayHost {
- void resume();
- void stepOver();
+ EnabledAtRuntime=EncodingAPI,
+ GlobalContext=Window&WorkerGlobalScope,
+ Constructor([Default=NullString] optional DOMString label, optional Dictionary options),
+ ConstructorRaisesException
+] interface TextDecoder {
+ readonly attribute DOMString encoding;
+ [RaisesException] DOMString decode(optional ArrayBufferView input, optional Dictionary options);
};
« no previous file with comments | « Source/modules/encoding/TextDecoder.cpp ('k') | Source/modules/encoding/TextEncoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698