mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 1678505 - s/VerticalScollDirection/VerticalScrollDirection/. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D103411
This commit is contained in:
parent
362676fcad
commit
e21a249c77
@ -395,7 +395,7 @@ typedef EnumSet<ScrollDirection> ScrollDirections;
|
||||
|
||||
constexpr ScrollDirections EitherScrollDirection(ScrollDirection::eVertical,ScrollDirection::eHorizontal);
|
||||
constexpr ScrollDirections HorizontalScrollDirection(ScrollDirection::eHorizontal);
|
||||
constexpr ScrollDirections VerticalScollDirection(ScrollDirection::eVertical);
|
||||
constexpr ScrollDirections VerticalScrollDirection(ScrollDirection::eVertical);
|
||||
|
||||
|
||||
MOZ_DEFINE_ENUM_CLASS_WITH_BASE(CompositionPayloadType, uint8_t, (
|
||||
|
@ -191,7 +191,7 @@ FocusTarget::FocusTarget(PresShell* aRootPresShell,
|
||||
selectedContent.get(), HorizontalScrollDirection);
|
||||
nsIScrollableFrame* vertical =
|
||||
presShell->GetScrollableFrameToScrollForContent(selectedContent.get(),
|
||||
VerticalScollDirection);
|
||||
VerticalScrollDirection);
|
||||
|
||||
// We might have the globally focused element for scrolling. Gather a ViewID
|
||||
// for the horizontal and vertical scroll targets of this element.
|
||||
|
@ -2366,7 +2366,7 @@ NS_IMETHODIMP
|
||||
PresShell::PageMove(bool aForward, bool aExtend) {
|
||||
nsIFrame* frame = nullptr;
|
||||
if (!aExtend) {
|
||||
frame = do_QueryFrame(GetScrollableFrameToScroll(VerticalScollDirection));
|
||||
frame = do_QueryFrame(GetScrollableFrameToScroll(VerticalScrollDirection));
|
||||
// If there is no scrollable frame, get the frame to move caret instead.
|
||||
}
|
||||
if (!frame || frame->PresContext() != mPresContext) {
|
||||
@ -2386,7 +2386,7 @@ PresShell::PageMove(bool aForward, bool aExtend) {
|
||||
NS_IMETHODIMP
|
||||
PresShell::ScrollPage(bool aForward) {
|
||||
nsIScrollableFrame* scrollFrame =
|
||||
GetScrollableFrameToScroll(VerticalScollDirection);
|
||||
GetScrollableFrameToScroll(VerticalScrollDirection);
|
||||
if (scrollFrame) {
|
||||
mozilla::Telemetry::Accumulate(
|
||||
mozilla::Telemetry::SCROLL_INPUT_METHODS,
|
||||
@ -2402,7 +2402,7 @@ PresShell::ScrollPage(bool aForward) {
|
||||
NS_IMETHODIMP
|
||||
PresShell::ScrollLine(bool aForward) {
|
||||
nsIScrollableFrame* scrollFrame =
|
||||
GetScrollableFrameToScroll(VerticalScollDirection);
|
||||
GetScrollableFrameToScroll(VerticalScrollDirection);
|
||||
if (scrollFrame) {
|
||||
mozilla::Telemetry::Accumulate(
|
||||
mozilla::Telemetry::SCROLL_INPUT_METHODS,
|
||||
@ -2440,7 +2440,7 @@ PresShell::ScrollCharacter(bool aRight) {
|
||||
NS_IMETHODIMP
|
||||
PresShell::CompleteScroll(bool aForward) {
|
||||
nsIScrollableFrame* scrollFrame =
|
||||
GetScrollableFrameToScroll(VerticalScollDirection);
|
||||
GetScrollableFrameToScroll(VerticalScrollDirection);
|
||||
if (scrollFrame) {
|
||||
mozilla::Telemetry::Accumulate(
|
||||
mozilla::Telemetry::SCROLL_INPUT_METHODS,
|
||||
|
Loading…
Reference in New Issue
Block a user