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

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 33423004: Removing a number of deprecated members (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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:
Download patch
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 06e2ed51e40b796db6826274d35e02bfc1a0940e..c0c639f3811632015458eb00f9d4ec0483b6e9ef 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -1157,9 +1157,6 @@ class CanvasElement extends HtmlElement implements CanvasImageSource {
/** An API for drawing on this canvas. */
CanvasRenderingContext2D get context2D => getContext('2d');
- @deprecated
- CanvasRenderingContext2D get context2d => this.context2D;
-
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.FIREFOX)
@Experimental()
@@ -10366,15 +10363,6 @@ abstract class Element extends Node implements ParentNode, ChildNode {
String get innerHtml => _innerHtml;
/**
- * For use while transitioning to the safe [innerHtml] or [setInnerHtml].
- * Unsafe because it opens the app to cross-site scripting vulnerabilities.
- */
- @deprecated
- void set unsafeInnerHtml(String html) {
- _innerHtml = html;
- }
-
- /**
* This is an ease-of-use accessor for event streams which should only be
* used when an explicit accessor is not available.
*/
@@ -26475,16 +26463,6 @@ class UIEvent extends Event {
void _initUIEvent(String type, bool canBubble, bool cancelable, Window view, int detail) native "UIEvent_initUIEvent_Callback";
- @deprecated
- int get layerX => layer.x;
- @deprecated
- int get layerY => layer.y;
-
- @deprecated
- int get pageX => page.x;
- @deprecated
- int get pageY => page.y;
-
@DomName('UIEvent.layerX')
@DomName('UIEvent.layerY')
Point get layer => new Point(_layerX, _layerY);
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tools/dom/templates/html/dart2js/impl_MouseEvent.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698