mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
style: Use non-native menus in Windows for documents where we don't have a native theme
Untested, but it should work. Differential Revision: https://phabricator.services.mozilla.com/D169836
This commit is contained in:
parent
a9998e899b
commit
aa810f77ec
1 changed files with 2 additions and 2 deletions
|
@ -538,8 +538,8 @@ fn eval_moz_platform(_: &Context, query_value: Option<Platform>) -> bool {
|
||||||
unsafe { bindings::Gecko_MediaFeatures_MatchesPlatform(query_value) }
|
unsafe { bindings::Gecko_MediaFeatures_MatchesPlatform(query_value) }
|
||||||
}
|
}
|
||||||
|
|
||||||
fn eval_moz_windows_non_native_menus(_: &Context) -> bool {
|
fn eval_moz_windows_non_native_menus(context: &Context) -> bool {
|
||||||
unsafe { bindings::Gecko_MediaFeatures_WindowsNonNativeMenus() }
|
unsafe { bindings::Gecko_MediaFeatures_WindowsNonNativeMenus(context.device().document()) }
|
||||||
}
|
}
|
||||||
|
|
||||||
fn eval_moz_overlay_scrollbars(context: &Context) -> bool {
|
fn eval_moz_overlay_scrollbars(context: &Context) -> bool {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue