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

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

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) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 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) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2009 Google Inc. All rights reserved. 7 * Copyright (C) 2009 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 971 matching lines...) Expand 10 before | Expand all | Expand 10 after
982 LayoutRect absoluteOutlineBounds() const 982 LayoutRect absoluteOutlineBounds() const
983 { 983 {
984 return outlineBoundsForRepaint(0); 984 return outlineBoundsForRepaint(0);
985 } 985 }
986 986
987 // Return the renderer whose background style is used to paint the root back ground. Should only be called on the renderer for which isRoot() is true. 987 // Return the renderer whose background style is used to paint the root back ground. Should only be called on the renderer for which isRoot() is true.
988 RenderObject* rendererForRootBackground(); 988 RenderObject* rendererForRootBackground();
989 989
990 RespectImageOrientationEnum shouldRespectImageOrientation() const; 990 RespectImageOrientationEnum shouldRespectImageOrientation() const;
991 991
992 bool isRelayoutBoundaryForInstrumentation() const;
pfeldman 2013/09/06 13:35:51 ForInspector
993
992 protected: 994 protected:
993 inline bool layerCreationAllowedForSubtree() const; 995 inline bool layerCreationAllowedForSubtree() const;
994 996
995 // Overrides should call the superclass at the end 997 // Overrides should call the superclass at the end
996 virtual void styleWillChange(StyleDifference, const RenderStyle* newStyle); 998 virtual void styleWillChange(StyleDifference, const RenderStyle* newStyle);
997 // Overrides should call the superclass at the start 999 // Overrides should call the superclass at the start
998 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); 1000 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle);
999 void propagateStyleToAnonymousChildren(bool blockChildrenOnly = false); 1001 void propagateStyleToAnonymousChildren(bool blockChildrenOnly = false);
1000 1002
1001 void drawLineForBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2, Bo xSide, 1003 void drawLineForBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2, Bo xSide,
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
1393 // Outside the WebCore namespace for ease of invocation from gdb. 1395 // Outside the WebCore namespace for ease of invocation from gdb.
1394 void showTree(const WebCore::RenderObject*); 1396 void showTree(const WebCore::RenderObject*);
1395 void showLineTree(const WebCore::RenderObject*); 1397 void showLineTree(const WebCore::RenderObject*);
1396 void showRenderTree(const WebCore::RenderObject* object1); 1398 void showRenderTree(const WebCore::RenderObject* object1);
1397 // We don't make object2 an optional parameter so that showRenderTree 1399 // We don't make object2 an optional parameter so that showRenderTree
1398 // can be called from gdb easily. 1400 // can be called from gdb easily.
1399 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2); 1401 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2);
1400 #endif 1402 #endif
1401 1403
1402 #endif // RenderObject_h 1404 #endif // RenderObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698