mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 16:28:38 +09:00
Issue #1053 - Part 2a: Remove android from /layout (partial)
This removes android code from base, build, forms, generic, inspector, style, printing, tools and xul.
This commit is contained in:
parent
b21588597c
commit
7167c960d0
43 changed files with 56 additions and 540 deletions
|
|
@ -22,9 +22,6 @@
|
|||
#include "nsFrameSelection.h"
|
||||
#include "nsGenericHTMLElement.h"
|
||||
#include "nsIHapticFeedback.h"
|
||||
#ifdef MOZ_WIDGET_ANDROID
|
||||
#include "nsWindow.h"
|
||||
#endif
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
|
|
@ -896,15 +893,6 @@ AccessibleCaretManager::SetSelectionDragState(bool aState) const
|
|||
if (fs) {
|
||||
fs->SetDragState(aState);
|
||||
}
|
||||
|
||||
// Pin Fennecs DynamicToolbarAnimator in place before/after dragging,
|
||||
// to avoid co-incident screen scrolling.
|
||||
#ifdef MOZ_WIDGET_ANDROID
|
||||
nsIDocument* doc = mPresShell->GetDocument();
|
||||
MOZ_ASSERT(doc);
|
||||
nsIWidget* widget = nsContentUtils::WidgetForDocument(doc);
|
||||
static_cast<nsWindow*>(widget)->SetSelectionDragState(aState);
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue