CSSImageValue.h (1050B)
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 2 /* vim:set ts=2 sw=2 sts=2 et cindent: */ 3 /* This Source Code Form is subject to the terms of the Mozilla Public 4 * License, v. 2.0. If a copy of the MPL was not distributed with this 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 6 7 #ifndef LAYOUT_STYLE_TYPEDOM_CSSIMAGEVALUE_H_ 8 #define LAYOUT_STYLE_TYPEDOM_CSSIMAGEVALUE_H_ 9 10 #include "js/TypeDecls.h" 11 #include "mozilla/dom/CSSStyleValue.h" 12 13 template <class T> 14 class nsCOMPtr; 15 class nsISupports; 16 17 namespace mozilla { 18 19 namespace dom { 20 21 class CSSImageValue final : public CSSStyleValue { 22 public: 23 explicit CSSImageValue(nsCOMPtr<nsISupports> aParent); 24 25 JSObject* WrapObject(JSContext* aCx, 26 JS::Handle<JSObject*> aGivenProto) override; 27 28 // start of CSSImageValue Web IDL declarations 29 30 // end of CSSImageValue Web IDL declarations 31 32 private: 33 virtual ~CSSImageValue() = default; 34 }; 35 36 } // namespace dom 37 } // namespace mozilla 38 39 #endif // LAYOUT_STYLE_TYPEDOM_CSSIMAGEVALUE_H_