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

Side by Side Diff: sky/sdk/lib/base/debug.dart

Issue 1223113004: Polish the menu animation (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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/animation/animation_performance.dart ('k') | sky/sdk/lib/widgets/popup_menu.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 final bool inDebugBuild = _initInDebugBuild(); 7 final bool inDebugBuild = _initInDebugBuild();
8 8
9 bool _initInDebugBuild() { 9 bool _initInDebugBuild() {
10 bool _inDebug = false; 10 bool _inDebug = false;
11 bool setAssert() { 11 bool setAssert() {
12 _inDebug = true; 12 _inDebug = true;
13 return true; 13 return true;
14 } 14 }
15 assert(setAssert()); 15 assert(setAssert());
16 return _inDebug; 16 return _inDebug;
17 } 17 }
18 18
19 bool debugPaintSizeEnabled = false; 19 bool debugPaintSizeEnabled = false;
20 const sky.Color debugPaintSizeColor = const sky.Color(0xFF00FFFF); 20 const sky.Color debugPaintSizeColor = const sky.Color(0xFF00FFFF);
21 21
22 bool debugPaintBaselinesEnabled = false; 22 bool debugPaintBaselinesEnabled = false;
23 const sky.Color debugPaintAlphabeticBaselineColor = const sky.Color(0xFF00FF00); 23 const sky.Color debugPaintAlphabeticBaselineColor = const sky.Color(0xFF00FF00);
24 const sky.Color debugPaintIdeographicBaselineColor = const sky.Color(0xFFFFD000) ; 24 const sky.Color debugPaintIdeographicBaselineColor = const sky.Color(0xFFFFD000) ;
25 25
26 bool debugPaintBoundsEnabled = false; 26 bool debugPaintBoundsEnabled = false;
27 27
28 double timeDilation = 1.0; 28 double timeDilation = 10.0;
Matt Perry 2015/07/14 20:52:54 revert this
abarth-chromium 2015/07/14 20:55:13 Oops! Thanks.
OLDNEW
« no previous file with comments | « sky/sdk/lib/animation/animation_performance.dart ('k') | sky/sdk/lib/widgets/popup_menu.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698