mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 07:48:38 +09:00
Remove MOZ_B2G leftovers and some dead B2G-only components.
This commit is contained in:
parent
75d98fd33e
commit
719ac1bc38
91 changed files with 28 additions and 5017 deletions
|
|
@ -1266,7 +1266,7 @@ ScrollFrameHelper::HandleScrollbarStyleSwitching()
|
|||
}
|
||||
}
|
||||
|
||||
#if defined(MOZ_B2G) || defined(MOZ_WIDGET_ANDROID)
|
||||
#if defined(MOZ_WIDGET_ANDROID)
|
||||
static bool IsFocused(nsIContent* aContent)
|
||||
{
|
||||
// Some content elements, like the GetContent() of a scroll frame
|
||||
|
|
@ -1315,7 +1315,7 @@ ScrollFrameHelper::WantAsyncScroll() const
|
|||
bool isHScrollable = (scrollRange.width >= oneDevPixel) &&
|
||||
(styles.mHorizontal != NS_STYLE_OVERFLOW_HIDDEN);
|
||||
|
||||
#if defined(MOZ_B2G) || defined(MOZ_WIDGET_ANDROID)
|
||||
#if defined(MOZ_WIDGET_ANDROID)
|
||||
// Mobile platforms need focus to scroll.
|
||||
bool canScrollWithoutScrollbars = IsFocused(mOuter->GetContent());
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue