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

Side by Side Diff: sky/sdk/lib/rendering/object.dart

Issue 1232483004: Put back the setter being used by the test harness... (Closed) Base URL: https://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 | « no previous file | no next file » | 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 import 'dart:sky' show Point, Offset, Size, Rect, Color, Paint, Path; 7 import 'dart:sky' show Point, Offset, Size, Rect, Color, Paint, Path;
8 8
9 import '../base/debug.dart'; 9 import '../base/debug.dart';
10 import '../base/hit_test.dart'; 10 import '../base/hit_test.dart';
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 int oldAngle, // 0..3 296 int oldAngle, // 0..3
297 int newAngle, // 0..3 297 int newAngle, // 0..3
298 Duration time 298 Duration time
299 }) { } 299 }) { }
300 300
301 301
302 // PAINTING 302 // PAINTING
303 303
304 static bool _debugDoingPaint = false; 304 static bool _debugDoingPaint = false;
305 static bool get debugDoingPaint => _debugDoingPaint; 305 static bool get debugDoingPaint => _debugDoingPaint;
306 static void set debugDoingPaint(bool value) {
307 _debugDoingPaint = value;
308 }
306 bool _debugDoingThisPaint = false; 309 bool _debugDoingThisPaint = false;
307 bool get debugDoingThisPaint => _debugDoingThisPaint; 310 bool get debugDoingThisPaint => _debugDoingThisPaint;
308 static RenderObject _debugActivePaint = null; 311 static RenderObject _debugActivePaint = null;
309 static RenderObject get debugActivePaint => _debugActivePaint; 312 static RenderObject get debugActivePaint => _debugActivePaint;
310 313
311 static List<RenderObject> _nodesNeedingPaint = new List<RenderObject>(); 314 static List<RenderObject> _nodesNeedingPaint = new List<RenderObject>();
312 315
313 final sky.PaintingNode _paintingNode = new sky.PaintingNode(); 316 final sky.PaintingNode _paintingNode = new sky.PaintingNode();
314 sky.PaintingNode get paintingNode { 317 sky.PaintingNode get paintingNode {
315 assert(createNewDisplayList); 318 assert(createNewDisplayList);
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
697 int count = 1; 700 int count = 1;
698 ChildType child = _firstChild; 701 ChildType child = _firstChild;
699 while (child != null) { 702 while (child != null) {
700 result += '${prefix}child ${count}: ${child.toString(prefix)}'; 703 result += '${prefix}child ${count}: ${child.toString(prefix)}';
701 count += 1; 704 count += 1;
702 child = child.parentData.nextSibling; 705 child = child.parentData.nextSibling;
703 } 706 }
704 return result; 707 return result;
705 } 708 }
706 } 709 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698