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

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

Issue 1232313002: Use package:sky imports consistently (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix BUILD.gn Created 5 years, 5 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/dialog.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:sky' as sky; 5 import 'dart:sky' as sky;
6 6
7 import '../animation/animation_performance.dart'; 7 import 'package:sky/animation/animation_performance.dart';
8 import '../animation/curves.dart'; 8 import 'package:sky/animation/curves.dart';
9 import '../theme/shadows.dart'; 9 import 'package:sky/theme/shadows.dart';
10 import 'animated_component.dart'; 10 import 'package:sky/widgets/animated_component.dart';
11 import 'animation_builder.dart'; 11 import 'package:sky/widgets/animation_builder.dart';
12 import 'basic.dart'; 12 import 'package:sky/widgets/basic.dart';
13 import 'scrollable_viewport.dart'; 13 import 'package:sky/widgets/scrollable_viewport.dart';
14 import 'theme.dart'; 14 import 'package:sky/widgets/theme.dart';
15 15
16 // TODO(eseidel): Draw width should vary based on device size: 16 // TODO(eseidel): Draw width should vary based on device size:
17 // http://www.google.com/design/spec/layout/structure.html#structure-side-nav 17 // http://www.google.com/design/spec/layout/structure.html#structure-side-nav
18 18
19 // Mobile: 19 // Mobile:
20 // Width = Screen width − 56 dp 20 // Width = Screen width − 56 dp
21 // Maximum width: 320dp 21 // Maximum width: 320dp
22 // Maximum width applies only when using a left nav. When using a right nav, 22 // Maximum width applies only when using a left nav. When using a right nav,
23 // the panel can cover the full width of the screen. 23 // the panel can cover the full width of the screen.
24 24
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 child: new Stack([ mask, content ]), 146 child: new Stack([ mask, content ]),
147 onPointerDown: controller.handlePointerDown, 147 onPointerDown: controller.handlePointerDown,
148 onPointerMove: controller.handlePointerMove, 148 onPointerMove: controller.handlePointerMove,
149 onPointerUp: controller.handlePointerUp, 149 onPointerUp: controller.handlePointerUp,
150 onPointerCancel: controller.handlePointerCancel, 150 onPointerCancel: controller.handlePointerCancel,
151 onGestureFlingStart: controller.handleFlingStart 151 onGestureFlingStart: controller.handleFlingStart
152 ); 152 );
153 } 153 }
154 154
155 } 155 }
OLDNEW
« no previous file with comments | « sky/sdk/lib/widgets/dialog.dart ('k') | sky/sdk/lib/widgets/drawer_header.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698