gecko-dev/layout/style/ServoPropPrefList.h
Manish Goregaokar 881c76ca8f Bug 1297322: stylo: Expose property-pref mappings; r=heycam
MozReview-Commit-ID: 7evWOUFwa3K

--HG--
extra : rebase_source : bb4913d1353c689bc18b0173aa940036b04eecbb
2017-01-09 16:05:18 -08:00

26 lines
963 B
C++

/* -*- 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_ServoPropPrefList_h
#define mozilla_ServoPropPrefList_h
namespace mozilla {
#define CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, \
stylestruct_, stylestructoffset_, animtype_) \
const bool SERVO_PREF_ENABLED_##id_ = !(sizeof(pref_) == 1);
#define CSS_PROP_SHORTHAND(name_, id_, method_, flags_, pref_) \
const bool SERVO_PREF_ENABLED_##id_ = !(sizeof(pref_) == 1);
#define CSS_PROP_LIST_INCLUDE_LOGICAL
#include "nsCSSPropList.h"
#undef CSS_PROP_LIST_INCLUDE_LOGICAL
#undef CSS_PROP
#undef CSS_PROP_SHORTHAND
}
#endif // mozilla_ServoPropPrefList_h