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

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 454043004: Deprecate MouseEvent.elementTo and elementFrom since they have the same (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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/html/mouse_event_test.dart » ('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 f505525958862a521adc0c9c14b2f8c6ed554381..9a102e3a5467c203150c2d417cc2c4a789fd5576 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -20792,9 +20792,16 @@ class MouseEvent extends UIEvent {
@Unstable()
DataTransfer get dataTransfer => _blink.BlinkMouseEvent.$dataTransfer_Getter(this);
+ /**
+ * The nonstandard way to access the element that the mouse comes
+ * from in the case of a `mouseover` event.
+ *
+ * This member is deprecated and not cross-browser compatible; use
+ * relatedTarget to get the same information in the standard way.
+ */
@DomName('MouseEvent.fromElement')
@DocsEditable()
- @Experimental() // nonstandard
+ @deprecated
Node get fromElement => _blink.BlinkMouseEvent.$fromElement_Getter(this);
@DomName('MouseEvent.metaKey')
@@ -20827,9 +20834,16 @@ class MouseEvent extends UIEvent {
@DocsEditable()
bool get shiftKey => _blink.BlinkMouseEvent.$shiftKey_Getter(this);
+ /**
+ * The nonstandard way to access the element that the mouse goes
+ * to in the case of a `mouseout` event.
+ *
+ * This member is deprecated and not cross-browser compatible; use
+ * relatedTarget to get the same information in the standard way.
+ */
@DomName('MouseEvent.toElement')
@DocsEditable()
- @Experimental() // nonstandard
+ @deprecated
Node get toElement => _blink.BlinkMouseEvent.$toElement_Getter(this);
@DomName('MouseEvent.webkitMovementX')
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tests/html/mouse_event_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698