2006-05-17 06:33:34 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-05-21 15:12:37 +04:00
|
|
|
/* 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/. */
|
2006-05-17 06:22:12 +04:00
|
|
|
|
|
|
|
#ifndef __inLayoutUtils_h__
|
|
|
|
#define __inLayoutUtils_h__
|
|
|
|
|
2013-07-24 03:39:17 +04:00
|
|
|
class nsIDocument;
|
2011-04-08 05:04:40 +04:00
|
|
|
class nsIDOMDocument;
|
|
|
|
class nsIDOMElement;
|
|
|
|
class nsIDOMNode;
|
2010-04-11 00:09:38 +04:00
|
|
|
|
2014-04-01 08:09:23 +04:00
|
|
|
namespace mozilla {
|
|
|
|
class EventStateManager;
|
2015-07-13 18:25:42 +03:00
|
|
|
} // namespace mozilla
|
2014-04-01 08:09:23 +04:00
|
|
|
|
2006-05-17 06:22:12 +04:00
|
|
|
class inLayoutUtils
|
|
|
|
{
|
|
|
|
public:
|
2014-04-01 08:09:23 +04:00
|
|
|
static mozilla::EventStateManager*
|
|
|
|
GetEventStateManagerFor(nsIDOMElement *aElement);
|
2006-05-17 06:22:12 +04:00
|
|
|
static nsIDOMDocument* GetSubDocumentFor(nsIDOMNode* aNode);
|
2013-07-24 03:39:17 +04:00
|
|
|
static nsIDOMNode* GetContainerFor(const nsIDocument& aDoc);
|
2006-05-17 06:22:12 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __inLayoutUtils_h__
|