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

Unified Diff: sky/framework/components/button_base.dart

Issue 1043283003: [Effen] s/Node/UINode/, s/Element/WrapperNode/, s/EventTarget/EventListenerNode/ (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/framework/components/button.dart ('k') | sky/framework/components/checkbox.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/components/button_base.dart
diff --git a/sky/framework/components/button_base.dart b/sky/framework/components/button_base.dart
index 1152c03c6f25733e3563a30b93fe1672dadda0b4..df9e2c336c48a3a3df9a2e7e2eedd75fc3292967 100644
--- a/sky/framework/components/button_base.dart
+++ b/sky/framework/components/button_base.dart
@@ -9,10 +9,10 @@ abstract class ButtonBase extends Component {
ButtonBase({ Object key }) : super(key: key);
- Node buildContent();
+ UINode buildContent();
- Node build() {
- return new EventTarget(
+ UINode build() {
+ return new EventListenerNode(
buildContent(),
onPointerDown: _handlePointerDown,
onPointerUp: _handlePointerUp,
« no previous file with comments | « sky/framework/components/button.dart ('k') | sky/framework/components/checkbox.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698