Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
michael@0 | 1 | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
michael@0 | 2 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 5 | |
michael@0 | 6 | /* |
michael@0 | 7 | * interface to provide DOM inspector with access to internal interfaces |
michael@0 | 8 | * via DOM interface |
michael@0 | 9 | */ |
michael@0 | 10 | |
michael@0 | 11 | #ifndef nsICSSStyleRuleDOMWrapper_h_ |
michael@0 | 12 | #define nsICSSStyleRuleDOMWrapper_h_ |
michael@0 | 13 | |
michael@0 | 14 | #include "nsIDOMCSSStyleRule.h" |
michael@0 | 15 | |
michael@0 | 16 | // IID for the nsICSSStyleRuleDOMWrapper interface |
michael@0 | 17 | // {cee1bbb6-0a32-4cf3-8d42-ba3938e9ecaa} |
michael@0 | 18 | #define NS_ICSS_STYLE_RULE_DOM_WRAPPER_IID \ |
michael@0 | 19 | {0xcee1bbb6, 0x0a32, 0x4cf3, {0x8d, 0x42, 0xba, 0x39, 0x38, 0xe9, 0xec, 0xaa}} |
michael@0 | 20 | |
michael@0 | 21 | |
michael@0 | 22 | class nsICSSStyleRuleDOMWrapper : public nsIDOMCSSStyleRule { |
michael@0 | 23 | public: |
michael@0 | 24 | NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICSS_STYLE_RULE_DOM_WRAPPER_IID) |
michael@0 | 25 | |
michael@0 | 26 | NS_IMETHOD GetCSSStyleRule(mozilla::css::StyleRule** aResult) = 0; |
michael@0 | 27 | }; |
michael@0 | 28 | |
michael@0 | 29 | NS_DEFINE_STATIC_IID_ACCESSOR(nsICSSStyleRuleDOMWrapper, |
michael@0 | 30 | NS_ICSS_STYLE_RULE_DOM_WRAPPER_IID) |
michael@0 | 31 | |
michael@0 | 32 | #endif /* !defined(nsICSSStyleRuleDOMWrapper_h_) */ |