michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: #ifndef NSFRAMETRAVERSAL_H michael@0: #define NSFRAMETRAVERSAL_H michael@0: michael@0: #include "mozilla/Attributes.h" michael@0: #include "nsIFrameTraversal.h" michael@0: michael@0: class nsIFrame; michael@0: michael@0: nsresult NS_NewFrameTraversal(nsIFrameEnumerator **aEnumerator, michael@0: nsPresContext* aPresContext, michael@0: nsIFrame *aStart, michael@0: nsIteratorType aType, michael@0: bool aVisual, michael@0: bool aLockInScrollView, michael@0: bool aFollowOOFs); michael@0: michael@0: nsresult NS_CreateFrameTraversal(nsIFrameTraversal** aResult); michael@0: michael@0: class nsFrameTraversal : public nsIFrameTraversal michael@0: { michael@0: public: michael@0: nsFrameTraversal(); michael@0: virtual ~nsFrameTraversal(); michael@0: michael@0: NS_DECL_ISUPPORTS michael@0: michael@0: NS_IMETHOD NewFrameTraversal(nsIFrameEnumerator **aEnumerator, michael@0: nsPresContext* aPresContext, michael@0: nsIFrame *aStart, michael@0: int32_t aType, michael@0: bool aVisual, michael@0: bool aLockInScrollView, michael@0: bool aFollowOOFs) MOZ_OVERRIDE; michael@0: }; michael@0: michael@0: #endif //NSFRAMETRAVERSAL_H