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

Side by Side Diff: third_party/WebKit/WebCore/rendering/RenderReplaced.h

Issue 21165: Revert the merge. Mac build is mysteriously broken. (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 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 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. 3 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 virtual void paintReplaced(PaintInfo&, int /*tx*/, int /*ty*/) { } 48 virtual void paintReplaced(PaintInfo&, int /*tx*/, int /*ty*/) { }
49 49
50 virtual IntSize intrinsicSize() const; 50 virtual IntSize intrinsicSize() const;
51 51
52 virtual int overflowHeight(bool includeInterior = true) const; 52 virtual int overflowHeight(bool includeInterior = true) const;
53 virtual int overflowWidth(bool includeInterior = true) const; 53 virtual int overflowWidth(bool includeInterior = true) const;
54 virtual int overflowLeft(bool includeInterior = true) const; 54 virtual int overflowLeft(bool includeInterior = true) const;
55 virtual int overflowTop(bool includeInterior = true) const; 55 virtual int overflowTop(bool includeInterior = true) const;
56 virtual IntRect overflowRect(bool includeInterior = true) const; 56 virtual IntRect overflowRect(bool includeInterior = true) const;
57 57
58 virtual IntRect clippedOverflowRectForRepaint(RenderBoxModelObject* repaintC ontainer); 58 virtual IntRect clippedOverflowRectForRepaint(RenderBox* repaintContainer);
59 59
60 virtual unsigned caretMaxRenderedOffset() const; 60 virtual unsigned caretMaxRenderedOffset() const;
61 virtual VisiblePosition positionForCoordinates(int x, int y); 61 virtual VisiblePosition positionForCoordinates(int x, int y);
62 62
63 virtual bool canBeSelectionLeaf() const { return true; } 63 virtual bool canBeSelectionLeaf() const { return true; }
64 virtual void setSelectionState(SelectionState); 64 virtual void setSelectionState(SelectionState);
65 virtual IntRect selectionRectForRepaint(RenderBoxModelObject* repaintContain er, bool clipToVisibleContent = true); 65 virtual IntRect selectionRectForRepaint(RenderBox* repaintContainer, bool cl ipToVisibleContent = true);
66 66
67 bool isSelected() const; 67 bool isSelected() const;
68 68
69 protected: 69 protected:
70 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); 70 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle);
71 71
72 void setIntrinsicSize(const IntSize&); 72 void setIntrinsicSize(const IntSize&);
73 virtual void intrinsicSizeChanged(); 73 virtual void intrinsicSizeChanged();
74 74
75 bool shouldPaint(PaintInfo&, int& tx, int& ty); 75 bool shouldPaint(PaintInfo&, int& tx, int& ty);
76 void adjustOverflowForBoxShadow(); 76 void adjustOverflowForBoxShadow();
77 IntRect localSelectionRect(bool checkWhetherSelected = true) const; 77 IntRect localSelectionRect(bool checkWhetherSelected = true) const;
78 78
79 private: 79 private:
80 IntSize m_intrinsicSize; 80 IntSize m_intrinsicSize;
81 bool m_hasOverflow; 81 bool m_hasOverflow;
82 }; 82 };
83 83
84 } 84 }
85 85
86 #endif 86 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/WebCore/rendering/RenderPath.cpp ('k') | third_party/WebKit/WebCore/rendering/RenderReplaced.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698