mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1733278 - Remove MaybeZoomConstraints. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D127017
This commit is contained in:
parent
8b8efc8503
commit
45ae4c55f6
@ -57,7 +57,6 @@ using struct mozilla::layers::ScrollableLayerGuid from "mozilla/layers/Scrollabl
|
||||
using struct mozilla::layers::ZoomConstraints from "mozilla/layers/ZoomConstraints.h";
|
||||
using mozilla::layers::LayersId from "mozilla/layers/LayersTypes.h";
|
||||
using mozilla::layers::LayersObserverEpoch from "mozilla/layers/LayersTypes.h";
|
||||
using mozilla::layers::MaybeZoomConstraints from "mozilla/layers/ZoomConstraints.h";
|
||||
using mozilla::layers::GeckoContentController_TapType from "mozilla/layers/GeckoContentControllerTypes.h";
|
||||
using ScrollableLayerGuid::ViewID from "mozilla/layers/ScrollableLayerGuid.h";
|
||||
using struct mozilla::void_t from "mozilla/ipc/IPCCore.h";
|
||||
|
@ -60,8 +60,6 @@ struct ZoomConstraints {
|
||||
const ZoomConstraints& z);
|
||||
};
|
||||
|
||||
typedef Maybe<ZoomConstraints> MaybeZoomConstraints;
|
||||
|
||||
} // namespace layers
|
||||
} // namespace mozilla
|
||||
|
||||
|
@ -86,7 +86,7 @@ mozilla::ipc::IPCResult APZCTreeManagerParent::RecvSetTargetAPZC(
|
||||
|
||||
mozilla::ipc::IPCResult APZCTreeManagerParent::RecvUpdateZoomConstraints(
|
||||
const ScrollableLayerGuid& aGuid,
|
||||
const MaybeZoomConstraints& aConstraints) {
|
||||
const Maybe<ZoomConstraints>& aConstraints) {
|
||||
if (!IsGuidValid(aGuid)) {
|
||||
return IPC_FAIL_NO_REASON(this);
|
||||
}
|
||||
|
@ -45,7 +45,7 @@ class APZCTreeManagerParent : public PAPZCTreeManagerParent {
|
||||
|
||||
mozilla::ipc::IPCResult RecvUpdateZoomConstraints(
|
||||
const ScrollableLayerGuid& aGuid,
|
||||
const MaybeZoomConstraints& aConstraints);
|
||||
const Maybe<ZoomConstraints>& aConstraints);
|
||||
|
||||
mozilla::ipc::IPCResult RecvSetDPI(const float& aDpiValue);
|
||||
|
||||
|
@ -14,7 +14,6 @@ using CSSRect from "Units.h";
|
||||
using struct mozilla::layers::RepaintRequest from "mozilla/layers/RepaintRequest.h";
|
||||
using struct mozilla::layers::ScrollableLayerGuid from "mozilla/layers/ScrollableLayerGuid.h";
|
||||
using mozilla::layers::ScrollableLayerGuid::ViewID from "mozilla/layers/ScrollableLayerGuid.h";
|
||||
using mozilla::layers::MaybeZoomConstraints from "mozilla/layers/ZoomConstraints.h";
|
||||
using mozilla::layers::GeckoContentController_APZStateChange from "mozilla/layers/GeckoContentControllerTypes.h";
|
||||
using mozilla::layers::ScrollDirection from "mozilla/layers/LayersTypes.h";
|
||||
using mozilla::layers::MatrixMessage from "mozilla/layers/MatrixMessage.h";
|
||||
|
@ -13,8 +13,8 @@ using CSSRect from "Units.h";
|
||||
using LayoutDeviceCoord from "Units.h";
|
||||
using mozilla::LayoutDevicePoint from "Units.h";
|
||||
using ScreenPoint from "Units.h";
|
||||
using mozilla::layers::MaybeZoomConstraints from "mozilla/layers/ZoomConstraints.h";
|
||||
using ZoomTarget from "mozilla/layers/DoubleTapToZoom.h";
|
||||
using mozilla::layers::ZoomConstraints from "mozilla/layers/ZoomConstraints.h";
|
||||
using mozilla::layers::ScrollableLayerGuid from "mozilla/layers/ScrollableLayerGuid.h";
|
||||
using mozilla::layers::ScrollableLayerGuid::ViewID from "mozilla/layers/ScrollableLayerGuid.h";
|
||||
using mozilla::layers::TouchBehaviorFlags from "mozilla/layers/LayersTypes.h";
|
||||
@ -53,7 +53,7 @@ parent:
|
||||
|
||||
async SetTargetAPZC(uint64_t aInputBlockId, ScrollableLayerGuid[] Targets);
|
||||
|
||||
async UpdateZoomConstraints(ScrollableLayerGuid aGuid, MaybeZoomConstraints aConstraints);
|
||||
async UpdateZoomConstraints(ScrollableLayerGuid aGuid, ZoomConstraints? aConstraints);
|
||||
|
||||
async SetKeyboardMap(KeyboardMap aKeyboardMap);
|
||||
|
||||
|
@ -28,7 +28,6 @@ using struct mozilla::layers::LayersId from "mozilla/layers/LayersTypes.h";
|
||||
using struct mozilla::layers::TextureFactoryIdentifier from "mozilla/layers/CompositorTypes.h";
|
||||
using struct mozilla::layers::ScrollableLayerGuid from "mozilla/layers/ScrollableLayerGuid.h";
|
||||
using mozilla::layers::ScrollableLayerGuid::ViewID from "mozilla/layers/ScrollableLayerGuid.h";
|
||||
using mozilla::layers::MaybeZoomConstraints from "mozilla/layers/ZoomConstraints.h";
|
||||
using mozilla::layers::WindowKind from "mozilla/layers/LayersTypes.h";
|
||||
using mozilla::layers::LayersBackend from "mozilla/layers/LayersTypes.h";
|
||||
using mozilla::CSSIntRegion from "Units.h";
|
||||
|
Loading…
Reference in New Issue
Block a user