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

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 1777683002: Add back CssCharsetRule for Safari support (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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:
Download patch
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tests/co19/co19-dart2js.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index 10fea1c00917afbf195cbb6ce91fa1dd11160149..bbb5d14822c8b830ede0351375230e2b5012f76c 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -158,6 +158,7 @@ final htmlBlinkMap = {
'CDATASection': () => CDataSection,
'CHROMIUMValuebuffer': () => ChromiumValuebuffer,
'CSS': () => Css,
+ 'CSSCharsetRule': () => CssCharsetRule,
'CSSFontFaceRule': () => CssFontFaceRule,
'CSSGroupingRule': () => CssGroupingRule,
'CSSImportRule': () => CssImportRule,
@@ -699,6 +700,7 @@ final htmlBlinkFunctionMap = {
'CDATASection': () => CDataSection.internalCreateCDataSection,
'CHROMIUMValuebuffer': () => ChromiumValuebuffer.internalCreateChromiumValuebuffer,
'CSS': () => Css.internalCreateCss,
+ 'CSSCharsetRule': () => CssCharsetRule.internalCreateCssCharsetRule,
'CSSFontFaceRule': () => CssFontFaceRule.internalCreateCssFontFaceRule,
'CSSGroupingRule': () => CssGroupingRule.internalCreateCssGroupingRule,
'CSSImportRule': () => CssImportRule.internalCreateCssImportRule,
@@ -6107,6 +6109,42 @@ class Css extends DartHtmlDomObject {
@DocsEditable()
+@DomName('CSSCharsetRule')
+// http://dev.w3.org/csswg/cssom/#the-csscharsetrule-interface
+@Experimental()
+class CssCharsetRule extends CssRule {
+ // To suppress missing implicit constructor warnings.
+ factory CssCharsetRule._() { throw new UnsupportedError("Not supported"); }
+
+
+ @Deprecated("Internal Use Only")
+ static CssCharsetRule internalCreateCssCharsetRule() {
+ return new CssCharsetRule._internalWrap();
+ }
+
+ external factory CssCharsetRule._internalWrap();
+
+ @Deprecated("Internal Use Only")
+ CssCharsetRule.internal_() : super.internal_();
+
+
+ @DomName('CSSCharsetRule.encoding')
+ @DocsEditable()
+ String get encoding => _blink.BlinkCSSCharsetRule.instance.encoding_Getter_(unwrap_jso(this));
+
+ @DomName('CSSCharsetRule.encoding')
+ @DocsEditable()
+ set encoding(String value) => _blink.BlinkCSSCharsetRule.instance.encoding_Setter_(unwrap_jso(this), value);
+
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable()
@DomName('CSSFontFaceRule')
class CssFontFaceRule extends CssRule {
// To suppress missing implicit constructor warnings.
@@ -40366,10 +40404,10 @@ class Url extends DartHtmlDomObject implements UrlUtils {
if ((blob_OR_source_OR_stream is Blob || blob_OR_source_OR_stream == null)) {
return _blink.BlinkURL.instance.createObjectURL_Callback_1_(unwrap_jso(blob_OR_source_OR_stream));
}
- if ((blob_OR_source_OR_stream is MediaStream)) {
+ if ((blob_OR_source_OR_stream is MediaSource)) {
return _blink.BlinkURL.instance.createObjectURL_Callback_1_(unwrap_jso(blob_OR_source_OR_stream));
}
- if ((blob_OR_source_OR_stream is MediaSource)) {
+ if ((blob_OR_source_OR_stream is MediaStream)) {
return _blink.BlinkURL.instance.createObjectURL_Callback_1_(unwrap_jso(blob_OR_source_OR_stream));
}
throw new ArgumentError("Incorrect number or type of arguments");
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tests/co19/co19-dart2js.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698