layout/style/nsICSSStyleRuleDOMWrapper.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/style/nsICSSStyleRuleDOMWrapper.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
     1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.8 +
     1.9 +/*
    1.10 + * interface to provide DOM inspector with access to internal interfaces
    1.11 + * via DOM interface
    1.12 + */
    1.13 +
    1.14 +#ifndef nsICSSStyleRuleDOMWrapper_h_
    1.15 +#define nsICSSStyleRuleDOMWrapper_h_
    1.16 +
    1.17 +#include "nsIDOMCSSStyleRule.h"
    1.18 +
    1.19 +// IID for the nsICSSStyleRuleDOMWrapper interface
    1.20 +// {cee1bbb6-0a32-4cf3-8d42-ba3938e9ecaa}
    1.21 +#define NS_ICSS_STYLE_RULE_DOM_WRAPPER_IID \
    1.22 +{0xcee1bbb6, 0x0a32, 0x4cf3, {0x8d, 0x42, 0xba, 0x39, 0x38, 0xe9, 0xec, 0xaa}}
    1.23 +
    1.24 +
    1.25 +class nsICSSStyleRuleDOMWrapper : public nsIDOMCSSStyleRule {
    1.26 +public:
    1.27 +  NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICSS_STYLE_RULE_DOM_WRAPPER_IID)
    1.28 +
    1.29 +  NS_IMETHOD GetCSSStyleRule(mozilla::css::StyleRule** aResult) = 0;
    1.30 +};
    1.31 +
    1.32 +NS_DEFINE_STATIC_IID_ACCESSOR(nsICSSStyleRuleDOMWrapper,
    1.33 +                              NS_ICSS_STYLE_RULE_DOM_WRAPPER_IID)
    1.34 +
    1.35 +#endif /* !defined(nsICSSStyleRuleDOMWrapper_h_) */

mercurial