mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Bug 1304598 Part 5 - Move ViewportFrame to mozilla namespace. r=dholbert
MozReview-Commit-ID: CbQAesikfoO --HG-- extra : rebase_source : 02d3b811561e0be9128a84daa74dae26b3791317
This commit is contained in:
parent
3a0b73989e
commit
bdd68c6c0c
@ -23,6 +23,9 @@ class nsIURI;
|
||||
class nsIPresShell;
|
||||
class nsIChannel;
|
||||
class nsTableColFrame;
|
||||
namespace mozilla {
|
||||
class ViewportFrame;
|
||||
} // namespace mozilla
|
||||
|
||||
// These are all the block specific frame bits, they are copied from
|
||||
// the prev-in-flow to a newly created next-in-flow, except for the
|
||||
@ -81,8 +84,7 @@ NS_NewSubDocumentFrame(nsIPresShell* aPresShell, nsStyleContext* aContext);
|
||||
nsIFrame*
|
||||
NS_NewHTMLFramesetFrame(nsIPresShell* aPresShell, nsStyleContext* aContext);
|
||||
|
||||
class ViewportFrame;
|
||||
ViewportFrame*
|
||||
mozilla::ViewportFrame*
|
||||
NS_NewViewportFrame(nsIPresShell* aPresShell, nsStyleContext* aContext);
|
||||
class nsCanvasFrame;
|
||||
nsCanvasFrame*
|
||||
|
@ -11,7 +11,7 @@ class nsPageFrame;
|
||||
class nsSharedPageData;
|
||||
|
||||
// Page frame class used by the simple page sequence frame
|
||||
class nsPageContentFrame : public ViewportFrame {
|
||||
class nsPageContentFrame : public mozilla::ViewportFrame {
|
||||
|
||||
public:
|
||||
NS_DECL_FRAMEARENA_HELPERS
|
||||
|
@ -16,6 +16,8 @@
|
||||
|
||||
class nsPresContext;
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
/**
|
||||
* ViewportFrame is the parent of a single child - the doc root frame or a scroll frame
|
||||
* containing the doc root frame. ViewportFrame stores this child in its primary child
|
||||
@ -104,5 +106,6 @@ protected:
|
||||
nsPoint AdjustReflowInputForScrollbars(ReflowInput* aReflowInput) const;
|
||||
};
|
||||
|
||||
} // namespace mozilla
|
||||
|
||||
#endif // nsViewportFrame_h___
|
||||
|
Loading…
Reference in New Issue
Block a user