/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef _inLayoutUtils_h_ #define _inLayoutUtils_h_ class nsINode; namespace mozilla { class EventStateManager; namespace dom { class Document; class Element; } // namespace dom } // namespace mozilla class inLayoutUtils { public: static mozilla::EventStateManager* GetEventStateManagerFor( mozilla::dom::Element& aElement); static mozilla::dom::Document* GetSubDocumentFor(nsINode* aNode); static nsINode* GetContainerFor(const mozilla::dom::Document& aDoc); }; #endif // _inLayoutUtils_h_