Skip to content

Commit

Permalink
Stylo: update bindings for -moz-border-*-colors support
Browse files Browse the repository at this point in the history
  • Loading branch information
chenpighead committed Apr 25, 2017
1 parent e3e10ad commit 3f3f780
Show file tree
Hide file tree
Showing 3 changed files with 354 additions and 286 deletions.
16 changes: 16 additions & 0 deletions components/style/gecko_bindings/bindings.rs
Expand Up @@ -4,6 +4,7 @@ pub use nsstring::{nsACString, nsAString, nsString};
type nsACString_internal = nsACString;
type nsAString_internal = nsAString;
use gecko_bindings::structs::mozilla::css::URLValue;
use gecko_bindings::structs::mozilla::Side;
use gecko_bindings::structs::RawGeckoAnimationPropertySegment;
use gecko_bindings::structs::RawGeckoComputedTiming;
use gecko_bindings::structs::RawGeckoDocument;
Expand Down Expand Up @@ -719,6 +720,21 @@ extern "C" {
*const ::std::os::raw::c_char,
aLength: u32) -> bool;
}
extern "C" {
pub fn Gecko_EnsureMozBorderColors(aBorder: *mut nsStyleBorder);
}
extern "C" {
pub fn Gecko_ClearMozBorderColors(aBorder: *mut nsStyleBorder,
aSide: Side);
}
extern "C" {
pub fn Gecko_AppendMozBorderColors(aBorder: *mut nsStyleBorder,
aSide: Side, aColor: nscolor);
}
extern "C" {
pub fn Gecko_CopyMozBorderColors(aDest: *mut nsStyleBorder,
aSrc: *const nsStyleBorder, aSide: Side);
}
extern "C" {
pub fn Gecko_FontFamilyList_Clear(aList: *mut FontFamilyList);
}
Expand Down

0 comments on commit 3f3f780

Please sign in to comment.