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

Side by Side Diff: sky/sdk/lib/framework/components2/ink_well.dart

Issue 1161003002: Split layout2.dart into several files (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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 import '../fn2.dart'; 5 import '../fn2.dart';
6 import '../layout2.dart';
7 import 'dart:collection'; 6 import 'dart:collection';
8 import 'dart:sky' as sky; 7 import 'dart:sky' as sky;
9 import 'ink_splash.dart'; 8 import 'ink_splash.dart';
10 import 'scrollable.dart'; 9 import 'scrollable.dart';
11 10
12 class InkWell extends Component implements ScrollClient { 11 class InkWell extends Component implements ScrollClient {
13 static final Style _containmentStyleHack = new Style(''' 12 static final Style _containmentStyleHack = new Style('''
14 align-items: center; 13 align-items: center;
15 transform: translateX(0);'''); 14 transform: translateX(0);''');
16 15
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 void _splashDone(SplashController splash) { 109 void _splashDone(SplashController splash) {
111 if (_splashes == null) 110 if (_splashes == null)
112 return; 111 return;
113 setState(() { 112 setState(() {
114 _splashes.remove(splash); 113 _splashes.remove(splash);
115 if (_splashes.length == 0) 114 if (_splashes.length == 0)
116 _splashes = null; 115 _splashes = null;
117 }); 116 });
118 } 117 }
119 } 118 }
OLDNEW
« no previous file with comments | « sky/sdk/lib/framework/components2/ink_splash.dart ('k') | sky/sdk/lib/framework/components2/input.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698