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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutObject.cpp

Issue 2514573003: Update documentation and cleanup impls for localToSVGParentTransform() (Closed)
Patch Set: - Created 4 years, 1 month 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 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc.
7 * All rights reserved. 7 * All rights reserved.
8 * Copyright (C) 2009 Google Inc. All rights reserved. 8 * Copyright (C) 2009 Google Inc. All rights reserved.
9 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. 9 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved.
10 * (http://www.torchmobile.com/) 10 * (http://www.torchmobile.com/)
(...skipping 3262 matching lines...) Expand 10 before | Expand all | Expand 10 after
3273 NOTREACHED(); 3273 NOTREACHED();
3274 return FloatRect(); 3274 return FloatRect();
3275 } 3275 }
3276 3276
3277 FloatRect LayoutObject::visualRectInLocalSVGCoordinates() const { 3277 FloatRect LayoutObject::visualRectInLocalSVGCoordinates() const {
3278 NOTREACHED(); 3278 NOTREACHED();
3279 return FloatRect(); 3279 return FloatRect();
3280 } 3280 }
3281 3281
3282 AffineTransform LayoutObject::localSVGTransform() const { 3282 AffineTransform LayoutObject::localSVGTransform() const {
3283 static const AffineTransform identity; 3283 return AffineTransform();
3284 return identity;
3285 }
3286
3287 const AffineTransform& LayoutObject::localToSVGParentTransform() const {
3288 static const AffineTransform identity;
3289 return identity;
3290 } 3284 }
3291 3285
3292 bool LayoutObject::nodeAtFloatPoint(HitTestResult&, 3286 bool LayoutObject::nodeAtFloatPoint(HitTestResult&,
3293 const FloatPoint&, 3287 const FloatPoint&,
3294 HitTestAction) { 3288 HitTestAction) {
3295 ASSERT_NOT_REACHED(); 3289 ASSERT_NOT_REACHED();
3296 return false; 3290 return false;
3297 } 3291 }
3298 3292
3299 bool LayoutObject::isRelayoutBoundaryForInspector() const { 3293 bool LayoutObject::isRelayoutBoundaryForInspector() const {
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
3479 const blink::LayoutObject* root = object1; 3473 const blink::LayoutObject* root = object1;
3480 while (root->parent()) 3474 while (root->parent())
3481 root = root->parent(); 3475 root = root->parent();
3482 root->showLayoutTreeAndMark(object1, "*", object2, "-", 0); 3476 root->showLayoutTreeAndMark(object1, "*", object2, "-", 0);
3483 } else { 3477 } else {
3484 WTFLogAlways("%s", "Cannot showLayoutTree. Root is (nil)"); 3478 WTFLogAlways("%s", "Cannot showLayoutTree. Root is (nil)");
3485 } 3479 }
3486 } 3480 }
3487 3481
3488 #endif 3482 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698