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

Side by Side Diff: sky/sdk/lib/widgets/drawer.dart

Issue 1177383006: Rename all the things (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix imports 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
« no previous file with comments | « sky/sdk/lib/widgets/checkbox.dart ('k') | sky/sdk/lib/widgets/drawer_header.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 'dart:math' as math; 5 import 'dart:math' as math;
6 import 'dart:sky' as sky; 6 import 'dart:sky' as sky;
7 7
8 import 'package:vector_math/vector_math.dart'; 8 import 'package:vector_math/vector_math.dart';
9 9
10 import '../animation/animated_value.dart'; 10 import '../framework/animation/animated_value.dart';
11 import '../animation/curves.dart'; 11 import '../framework/animation/curves.dart';
12 import '../theme2/colors.dart'; 12 import '../theme2/colors.dart';
13 import '../theme2/shadows.dart'; 13 import '../theme2/shadows.dart';
14 import 'animated_component.dart'; 14 import 'animated_component.dart';
15 import 'basic.dart'; 15 import 'basic.dart';
16 16
17 // TODO(eseidel): Draw width should vary based on device size: 17 // TODO(eseidel): Draw width should vary based on device size:
18 // http://www.google.com/design/spec/layout/structure.html#structure-side-nav 18 // http://www.google.com/design/spec/layout/structure.html#structure-side-nav
19 19
20 // Mobile: 20 // Mobile:
21 // Width = Screen width − 56 dp 21 // Width = Screen width − 56 dp
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 return new EventListenerNode( 157 return new EventListenerNode(
158 new Stack([ mask, content ]), 158 new Stack([ mask, content ]),
159 onPointerDown: controller.handlePointerDown, 159 onPointerDown: controller.handlePointerDown,
160 onPointerMove: controller.handlePointerMove, 160 onPointerMove: controller.handlePointerMove,
161 onPointerUp: controller.handlePointerUp, 161 onPointerUp: controller.handlePointerUp,
162 onPointerCancel: controller.handlePointerCancel 162 onPointerCancel: controller.handlePointerCancel
163 ); 163 );
164 } 164 }
165 165
166 } 166 }
OLDNEW
« no previous file with comments | « sky/sdk/lib/widgets/checkbox.dart ('k') | sky/sdk/lib/widgets/drawer_header.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698