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

Unified Diff: samples/ui_lib/touch/TouchUtil.dart

Issue 10928139: Changed interfaces to abstract classes where possible in {lib,samples,pkg} (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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
« pkg/unittest/interfaces.dart ('K') | « samples/ui_lib/touch/ScrollWatcher.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/ui_lib/touch/TouchUtil.dart
===================================================================
--- samples/ui_lib/touch/TouchUtil.dart (revision 12252)
+++ samples/ui_lib/touch/TouchUtil.dart (working copy)
@@ -104,7 +104,7 @@
return false;
}
-interface Touchable {
+abstract class Touchable {
/**
* Provide the HTML element that should respond to touch events.
*/
@@ -123,7 +123,7 @@
bool onTouchStart(TouchEvent e);
}
-interface Draggable extends Touchable {
+abstract class Draggable implements Touchable {
/**
* The object's drag sequence is now complete.
*/
« pkg/unittest/interfaces.dart ('K') | « samples/ui_lib/touch/ScrollWatcher.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698