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

Unified Diff: third_party/WebKit/WebCore/rendering/RenderBox.h

Issue 20076: WebKit merge 40500:40539 [WebKit side] (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/WebCore/rendering/RenderBox.h
===================================================================
--- third_party/WebKit/WebCore/rendering/RenderBox.h (revision 9118)
+++ third_party/WebKit/WebCore/rendering/RenderBox.h (working copy)
@@ -304,6 +304,8 @@
virtual void childBecameNonInline(RenderObject* /*child*/) { }
+ virtual VisiblePosition positionForCoordinates(int x, int y);
+
#if ENABLE(SVG)
virtual TransformationMatrix localTransform() const;
#endif
@@ -354,8 +356,11 @@
// This function calculates the minimum and maximum preferred widths for an object.
// These values are used in shrink-to-fit layout systems.
// These include tables, positioned objects, floats and flexible boxes.
- virtual void calcPrefWidths() = 0;
+ virtual void calcPrefWidths() { setPrefWidthsDirty(false); }
+protected:
+ bool isAfterContent(RenderObject* child) const;
+
private:
// The width/height of the contents + borders + padding. The x/y location is relative to our container (which is not always our parent).
IntRect m_frameRect;
« no previous file with comments | « third_party/WebKit/WebCore/rendering/RenderBlock.cpp ('k') | third_party/WebKit/WebCore/rendering/RenderBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698