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

Side by Side Diff: Source/core/rendering/RenderObject.cpp

Issue 23201018: DevTools: add "Jump to Relayout Boundary" context menu item in Elements panel (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
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. All rights reserv ed. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv ed.
7 * Copyright (C) 2009 Google Inc. All rights reserved. 7 * Copyright (C) 2009 Google Inc. All rights reserved.
8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 3288 matching lines...) Expand 10 before | Expand all | Expand 10 after
3299 static const AffineTransform identity; 3299 static const AffineTransform identity;
3300 return identity; 3300 return identity;
3301 } 3301 }
3302 3302
3303 bool RenderObject::nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const FloatPoint&, HitTestAction) 3303 bool RenderObject::nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const FloatPoint&, HitTestAction)
3304 { 3304 {
3305 ASSERT_NOT_REACHED(); 3305 ASSERT_NOT_REACHED();
3306 return false; 3306 return false;
3307 } 3307 }
3308 3308
3309 bool RenderObject::isRelayoutBoundaryForInstrumentation() const
3310 {
3311 return objectIsRelayoutBoundary(this);
3312 }
3313
3309 } // namespace WebCore 3314 } // namespace WebCore
3310 3315
3311 #ifndef NDEBUG 3316 #ifndef NDEBUG
3312 3317
3313 void showTree(const WebCore::RenderObject* object) 3318 void showTree(const WebCore::RenderObject* object)
3314 { 3319 {
3315 if (object) 3320 if (object)
3316 object->showTreeForThis(); 3321 object->showTreeForThis();
3317 } 3322 }
3318 3323
(...skipping 12 matching lines...) Expand all
3331 { 3336 {
3332 if (object1) { 3337 if (object1) {
3333 const WebCore::RenderObject* root = object1; 3338 const WebCore::RenderObject* root = object1;
3334 while (root->parent()) 3339 while (root->parent())
3335 root = root->parent(); 3340 root = root->parent();
3336 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); 3341 root->showRenderTreeAndMark(object1, "*", object2, "-", 0);
3337 } 3342 }
3338 } 3343 }
3339 3344
3340 #endif 3345 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698