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

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

Issue 295913006: Revert 2 CLs to get one last Dartium 34. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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/_blink/dartium/_blink_dartium.dart ('k') | 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 38591f3430eb868050681c5d3bab19026139df6e..392b2b99bb88aa43a52d8308f12765dd4045f688 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -1595,6 +1595,11 @@ class CanvasRenderingContext2D extends CanvasRenderingContext native "CanvasRend
@Experimental() // untriaged
bool drawCustomFocusRing(Element element) native;
+ @DomName('CanvasRenderingContext2D.drawSystemFocusRing')
+ @DocsEditable()
+ @Experimental() // untriaged
+ void drawSystemFocusRing(Element element) native;
+
@DomName('CanvasRenderingContext2D.ellipse')
@DocsEditable()
@Experimental() // untriaged
@@ -22840,7 +22845,26 @@ class Screen extends EventTarget native "Screen" {
@DomName('Screen.lockOrientation')
@DocsEditable()
@Experimental() // untriaged
- bool lockOrientation(String orientation) native;
+ bool lockOrientation(orientation_OR_orientations) {
+ if ((orientation_OR_orientations is String || orientation_OR_orientations == null)) {
+ return _lockOrientation_1(orientation_OR_orientations);
+ }
+ if ((orientation_OR_orientations is List<String> || orientation_OR_orientations == null)) {
+ List orientations_1 = convertDartToNative_StringArray(orientation_OR_orientations);
+ return _lockOrientation_2(orientations_1);
+ }
+ throw new ArgumentError("Incorrect number or type of arguments");
+ }
+ @JSName('lockOrientation')
+ @DomName('Screen.lockOrientation')
+ @DocsEditable()
+ @Experimental() // untriaged
+ bool _lockOrientation_1(String orientation) native;
+ @JSName('lockOrientation')
+ @DomName('Screen.lockOrientation')
+ @DocsEditable()
+ @Experimental() // untriaged
+ bool _lockOrientation_2(List orientations) native;
@DomName('Screen.unlockOrientation')
@DocsEditable()
« no previous file with comments | « sdk/lib/_blink/dartium/_blink_dartium.dart ('k') | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698