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

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

Issue 1468023002: Rename imageSizeForLayoutObject() to imageSize() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bring back ps#3 and fix nit Created 5 years 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) 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 1210 matching lines...) Expand 10 before | Expand all | Expand 10 after
1221 addOutlineRects(rects, additionalOffset, IncludeBlockVisualOverflow); 1221 addOutlineRects(rects, additionalOffset, IncludeBlockVisualOverflow);
1222 } 1222 }
1223 1223
1224 // Returns the rect enclosing united visual overflow of the DOM subtree unde r this object. 1224 // Returns the rect enclosing united visual overflow of the DOM subtree unde r this object.
1225 // It includes continuations which may be not in the layout subtree of this object. 1225 // It includes continuations which may be not in the layout subtree of this object.
1226 virtual IntRect absoluteElementBoundingBoxRect() const; 1226 virtual IntRect absoluteElementBoundingBoxRect() const;
1227 1227
1228 // Compute a list of hit-test rectangles per layer rooted at this layoutObje ct. 1228 // Compute a list of hit-test rectangles per layer rooted at this layoutObje ct.
1229 virtual void computeLayerHitTestRects(LayerHitTestRects&) const; 1229 virtual void computeLayerHitTestRects(LayerHitTestRects&) const;
1230 1230
1231 RespectImageOrientationEnum shouldRespectImageOrientation() const; 1231 static RespectImageOrientationEnum shouldRespectImageOrientation(const Layou tObject*);
1232 1232
1233 bool isRelayoutBoundaryForInspector() const; 1233 bool isRelayoutBoundaryForInspector() const;
1234 1234
1235 // The previous paint invalidation rect, in the the space of the paint inval idation container (*not* the graphics layer that paints 1235 // The previous paint invalidation rect, in the the space of the paint inval idation container (*not* the graphics layer that paints
1236 // this object). 1236 // this object).
1237 LayoutRect previousPaintInvalidationRectIncludingCompositedScrolling(const L ayoutBoxModelObject& paintInvalidationContainer) const; 1237 LayoutRect previousPaintInvalidationRectIncludingCompositedScrolling(const L ayoutBoxModelObject& paintInvalidationContainer) const;
1238 LayoutSize previousPaintInvalidationRectSize() const { return previousPaintI nvalidationRect().size(); } 1238 LayoutSize previousPaintInvalidationRectSize() const { return previousPaintI nvalidationRect().size(); }
1239 void setPreviousPaintInvalidationRect(const LayoutRect& rect) { m_previousPa intInvalidationRect = rect; } 1239 void setPreviousPaintInvalidationRect(const LayoutRect& rect) { m_previousPa intInvalidationRect = rect; }
1240 1240
1241 // Only adjusts if the paint invalidation container is not a composited scro ller. 1241 // Only adjusts if the paint invalidation container is not a composited scro ller.
(...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after
2041 void showTree(const blink::LayoutObject*); 2041 void showTree(const blink::LayoutObject*);
2042 void showLineTree(const blink::LayoutObject*); 2042 void showLineTree(const blink::LayoutObject*);
2043 void showLayoutTree(const blink::LayoutObject* object1); 2043 void showLayoutTree(const blink::LayoutObject* object1);
2044 // We don't make object2 an optional parameter so that showLayoutTree 2044 // We don't make object2 an optional parameter so that showLayoutTree
2045 // can be called from gdb easily. 2045 // can be called from gdb easily.
2046 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2); 2046 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2);
2047 2047
2048 #endif 2048 #endif
2049 2049
2050 #endif // LayoutObject_h 2050 #endif // LayoutObject_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutImageResource.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698