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

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

Issue 2514573003: Update documentation and cleanup impls for localToSVGParentTransform() (Closed)
Patch Set: Update again 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 3266 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 static const AffineTransform identity;
3284 return identity; 3284 return identity;
3285 } 3285 }
3286 3286
3287 const AffineTransform& LayoutObject::localToSVGParentTransform() const {
3288 static const AffineTransform identity;
3289 return identity;
3290 }
3291
3292 bool LayoutObject::nodeAtFloatPoint(HitTestResult&, 3287 bool LayoutObject::nodeAtFloatPoint(HitTestResult&,
3293 const FloatPoint&, 3288 const FloatPoint&,
3294 HitTestAction) { 3289 HitTestAction) {
3295 ASSERT_NOT_REACHED(); 3290 ASSERT_NOT_REACHED();
3296 return false; 3291 return false;
3297 } 3292 }
3298 3293
3299 bool LayoutObject::isRelayoutBoundaryForInspector() const { 3294 bool LayoutObject::isRelayoutBoundaryForInspector() const {
3300 return objectIsRelayoutBoundary(this); 3295 return objectIsRelayoutBoundary(this);
3301 } 3296 }
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
3479 const blink::LayoutObject* root = object1; 3474 const blink::LayoutObject* root = object1;
3480 while (root->parent()) 3475 while (root->parent())
3481 root = root->parent(); 3476 root = root->parent();
3482 root->showLayoutTreeAndMark(object1, "*", object2, "-", 0); 3477 root->showLayoutTreeAndMark(object1, "*", object2, "-", 0);
3483 } else { 3478 } else {
3484 WTFLogAlways("%s", "Cannot showLayoutTree. Root is (nil)"); 3479 WTFLogAlways("%s", "Cannot showLayoutTree. Root is (nil)");
3485 } 3480 }
3486 } 3481 }
3487 3482
3488 #endif 3483 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698