mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
Bug 1277129 Part 4a - Move ScrollReflowState into mozilla namespace. r=dbaron
MozReview-Commit-ID: C8drnMacxO --HG-- extra : rebase_source : b0a492d44785c6f2f6afc8aedb8b9cd2dece86b3
This commit is contained in:
parent
5246b4bf71
commit
9c26b29bf4
@ -205,6 +205,8 @@ nsHTMLScrollFrame::GetType() const
|
||||
All other things being equal, we prefer layouts with fewer scrollbars showing.
|
||||
*/
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
struct MOZ_STACK_CLASS ScrollReflowState {
|
||||
const ReflowInput& mReflowState;
|
||||
nsBoxLayoutState mBoxState;
|
||||
@ -234,6 +236,8 @@ struct MOZ_STACK_CLASS ScrollReflowState {
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace mozilla
|
||||
|
||||
// XXXldb Can this go away?
|
||||
static nsSize ComputeInsideBorderSize(ScrollReflowState* aState,
|
||||
const nsSize& aDesiredInsideBorderSize)
|
||||
|
@ -30,9 +30,9 @@ class nsIContent;
|
||||
class nsIAtom;
|
||||
class nsPresState;
|
||||
class nsIScrollPositionListener;
|
||||
struct ScrollReflowState;
|
||||
|
||||
namespace mozilla {
|
||||
struct ScrollReflowState;
|
||||
namespace layers {
|
||||
class Layer;
|
||||
} // namespace layers
|
||||
@ -652,6 +652,7 @@ class nsHTMLScrollFrame : public nsContainerFrame,
|
||||
public:
|
||||
typedef mozilla::ScrollFrameHelper ScrollFrameHelper;
|
||||
typedef mozilla::CSSIntPoint CSSIntPoint;
|
||||
typedef mozilla::ScrollReflowState ScrollReflowState;
|
||||
friend nsHTMLScrollFrame* NS_NewHTMLScrollFrame(nsIPresShell* aPresShell,
|
||||
nsStyleContext* aContext,
|
||||
bool aIsRoot);
|
||||
|
Loading…
Reference in New Issue
Block a user