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

Side by Side Diff: sky/sdk/lib/framework/fn2.dart

Issue 1174203002: Clip inkwell splash around the floating action button (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: rebase and apply code review feedback Created 5 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 library fn; 5 library fn;
6 6
7 import 'app.dart'; 7 import 'app.dart';
8 import 'dart:async'; 8 import 'dart:async';
9 import 'dart:collection'; 9 import 'dart:collection';
10 import 'dart:mirrors'; 10 import 'dart:mirrors';
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 } 371 }
372 372
373 void remove() { 373 void remove() {
374 if (child != null) 374 if (child != null)
375 removeChild(child); 375 removeChild(child);
376 super.remove(); 376 super.remove();
377 } 377 }
378 378
379 } 379 }
380 380
381 class Clip extends OneChildRenderObjectWrapper { 381 class ClipRect extends OneChildRenderObjectWrapper {
382 382
383 Clip({ UINode child, Object key }) 383 ClipRect({ UINode child, Object key })
384 : super(child: child, key: key); 384 : super(child: child, key: key);
385 385
386 RenderClip get root { RenderClip result = super.root; return result; } 386 RenderClipRect get root { RenderClipRect result = super.root; return result; }
387 RenderClip createNode() => new RenderClip(); 387 RenderClipRect createNode() => new RenderClipRect();
388 }
388 389
390 class ClipOval extends OneChildRenderObjectWrapper {
391
392 ClipOval({ UINode child, Object key })
393 : super(child: child, key: key);
394
395 RenderClipOval get root { RenderClipOval result = super.root; return result; }
396 RenderClipOval createNode() => new RenderClipOval();
389 } 397 }
390 398
391 class Padding extends OneChildRenderObjectWrapper { 399 class Padding extends OneChildRenderObjectWrapper {
392 400
393 Padding({ this.padding, UINode child, Object key }) 401 Padding({ this.padding, UINode child, Object key })
394 : super(child: child, key: key); 402 : super(child: child, key: key);
395 403
396 RenderPadding get root { RenderPadding result = super.root; return result; } 404 RenderPadding get root { RenderPadding result = super.root; return result; }
397 final EdgeDims padding; 405 final EdgeDims padding;
398 406
(...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after
1097 } 1105 }
1098 1106
1099 } 1107 }
1100 1108
1101 class Text extends Component { 1109 class Text extends Component {
1102 Text(this.data) : super(key: '*text*'); 1110 Text(this.data) : super(key: '*text*');
1103 final String data; 1111 final String data;
1104 bool get interchangeable => true; 1112 bool get interchangeable => true;
1105 UINode build() => new Paragraph(text: data); 1113 UINode build() => new Paragraph(text: data);
1106 } 1114 }
OLDNEW
« no previous file with comments | « sky/sdk/lib/framework/components2/floating_action_button.dart ('k') | sky/sdk/lib/framework/rendering/box.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698