Add a new FFI function Gecko_GetAppUnitsPerPhysicalInch to get the physical inch of device context in Gecko.

MozReview-Commit-ID: HiLkw5r05OT
This commit is contained in:
KuoE0 2017-04-25 16:41:21 +08:00
parent 8850a01b81
commit fc1e4e95ed

View file

@ -1074,6 +1074,10 @@ extern "C" {
pub fn Gecko_CSSValue_GetAbsoluteLength(css_value: nsCSSValueBorrowed)
-> nscoord;
}
extern "C" {
pub fn Gecko_GetAppUnitsPerPhysicalInch(pres_context: RawGeckoPresContextBorrowed)
-> i32;
}
extern "C" {
pub fn Gecko_CSSValue_GetKeyword(aCSSValue: nsCSSValueBorrowed)
-> nsCSSKeyword;