mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
Bug 1413166 - Export gtk_csd* atoms as media features, r=bz
Based on patch by Andrew Comminos [:acomminos] <andrew@comminos.com> MozReview-Commit-ID: 26IV2A3vZAB --HG-- extra : rebase_source : a4cbcafc8a8e8539b8275e5d0dfdff55175cc882
This commit is contained in:
parent
29fb3228ed
commit
49ff47e35f
@ -795,6 +795,42 @@ nsMediaFeatures::features[] = {
|
||||
GetSystemMetric
|
||||
},
|
||||
|
||||
{
|
||||
&nsGkAtoms::_moz_gtk_csd_available,
|
||||
nsMediaFeature::eMinMaxNotAllowed,
|
||||
nsMediaFeature::eBoolInteger,
|
||||
nsMediaFeature::eUserAgentAndChromeOnly,
|
||||
{ &nsGkAtoms::gtk_csd_available },
|
||||
GetSystemMetric
|
||||
},
|
||||
|
||||
{
|
||||
&nsGkAtoms::_moz_gtk_csd_minimize_button,
|
||||
nsMediaFeature::eMinMaxNotAllowed,
|
||||
nsMediaFeature::eBoolInteger,
|
||||
nsMediaFeature::eUserAgentAndChromeOnly,
|
||||
{ &nsGkAtoms::gtk_csd_minimize_button },
|
||||
GetSystemMetric
|
||||
},
|
||||
|
||||
{
|
||||
&nsGkAtoms::_moz_gtk_csd_maximize_button,
|
||||
nsMediaFeature::eMinMaxNotAllowed,
|
||||
nsMediaFeature::eBoolInteger,
|
||||
nsMediaFeature::eUserAgentAndChromeOnly,
|
||||
{ &nsGkAtoms::gtk_csd_maximize_button },
|
||||
GetSystemMetric
|
||||
},
|
||||
|
||||
{
|
||||
&nsGkAtoms::_moz_gtk_csd_close_button,
|
||||
nsMediaFeature::eMinMaxNotAllowed,
|
||||
nsMediaFeature::eBoolInteger,
|
||||
nsMediaFeature::eUserAgentAndChromeOnly,
|
||||
{ &nsGkAtoms::gtk_csd_close_button },
|
||||
GetSystemMetric
|
||||
},
|
||||
|
||||
// Internal -moz-is-glyph media feature: applies only inside SVG glyphs.
|
||||
// Internal because it is really only useful in the user agent anyway
|
||||
// and therefore not worth standardizing.
|
||||
|
Loading…
Reference in New Issue
Block a user