2016-10-18 07:29:03 +03:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
|
|
|
/* 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 mozilla_DeclarationBlockInlines_h
|
|
|
|
#define mozilla_DeclarationBlockInlines_h
|
|
|
|
|
|
|
|
#include "mozilla/css/Declaration.h"
|
|
|
|
#include "mozilla/ServoDeclarationBlock.h"
|
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
|
|
|
|
MOZ_DEFINE_STYLO_METHODS(DeclarationBlock, css::Declaration, ServoDeclarationBlock)
|
|
|
|
|
|
|
|
MozExternalRefCountType
|
|
|
|
DeclarationBlock::AddRef()
|
|
|
|
{
|
|
|
|
MOZ_STYLO_FORWARD(AddRef, ())
|
|
|
|
}
|
|
|
|
|
|
|
|
MozExternalRefCountType
|
|
|
|
DeclarationBlock::Release()
|
|
|
|
{
|
|
|
|
MOZ_STYLO_FORWARD(Release, ())
|
|
|
|
}
|
|
|
|
|
2016-11-03 06:41:02 +03:00
|
|
|
void
|
|
|
|
DeclarationBlock::ToString(nsAString& aString) const
|
|
|
|
{
|
|
|
|
MOZ_STYLO_FORWARD(ToString, (aString))
|
|
|
|
}
|
|
|
|
|
2016-11-03 06:41:02 +03:00
|
|
|
uint32_t
|
|
|
|
DeclarationBlock::Count() const
|
|
|
|
{
|
|
|
|
MOZ_STYLO_FORWARD(Count, ())
|
|
|
|
}
|
|
|
|
|
|
|
|
bool
|
|
|
|
DeclarationBlock::GetNthProperty(uint32_t aIndex, nsAString& aReturn) const
|
|
|
|
{
|
|
|
|
MOZ_STYLO_FORWARD(GetNthProperty, (aIndex, aReturn))
|
|
|
|
}
|
|
|
|
|
2016-10-18 07:29:03 +03:00
|
|
|
} // namespace mozilla
|
|
|
|
|
|
|
|
#endif // mozilla_DeclarationBlockInlines_h
|