Changeset 254384 in webkit
- Timestamp:
- Jan 10, 2020, 5:27:13 PM (5 years ago)
- Location:
- trunk/Source
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r254317 r254384 1 2020-01-10 Simon Fraser <simon.fraser@apple.com> 2 3 Introduce ENABLE_META_VIEWPORT and use it in some WK2 code 4 https://bugs.webkit.org/show_bug.cgi?id=206091 5 6 Reviewed by Tim Horton. 7 8 Define ENABLE_META_VIEWPORT for iOS. 9 10 * wtf/FeatureDefines.h: 11 1 12 2020-01-09 Tim Horton <timothy_horton@apple.com> 2 13 -
trunk/Source/WTF/wtf/FeatureDefines.h
r254311 r254384 228 228 #endif 229 229 230 #if !defined(ENABLE_META_VIEWPORT) 231 #define ENABLE_META_VIEWPORT 1 232 #endif 233 230 234 #endif /* PLATFORM(IOS_FAMILY) */ 231 235 -
trunk/Source/WebCore/ChangeLog
r254380 r254384 1 2020-01-10 Simon Fraser <simon.fraser@apple.com> 2 3 Introduce ENABLE_META_VIEWPORT and use it in some WK2 code 4 https://bugs.webkit.org/show_bug.cgi?id=206091 5 6 Reviewed by Tim Horton. 7 8 didDispatchViewportPropertiesChanged() is used for a Coordinated Graphics assertion, so 9 should be #if ASSERT_ENABLED rather than #ifndef NDEBUG. 10 11 * dom/Document.cpp: 12 (WebCore::Document::updateViewportArguments): 13 (WebCore::Document::suspend): 14 * dom/Document.h: 15 1 16 2020-01-10 Zalan Bujtas <zalan@apple.com> 2 17 -
trunk/Source/WebCore/dom/Document.cpp
r254322 r254384 3692 3692 { 3693 3693 if (page() && frame()->isMainFrame()) { 3694 #if ndef NDEBUG3694 #if ASSERT_ENABLED 3695 3695 m_didDispatchViewportPropertiesChanged = true; 3696 3696 #endif … … 5296 5296 element->prepareForDocumentSuspension(); 5297 5297 5298 #if ndef NDEBUG5298 #if ASSERT_ENABLED 5299 5299 // Clear the update flag to be able to check if the viewport arguments update 5300 5300 // is dispatched, after the document is restored from the back/forward cache. -
trunk/Source/WebCore/dom/Document.h
r254322 r254384 416 416 417 417 OptionSet<DisabledAdaptations> disabledAdaptations() const { return m_disabledAdaptations; } 418 #if ndef NDEBUG418 #if ASSERT_ENABLED 419 419 bool didDispatchViewportPropertiesChanged() const { return m_didDispatchViewportPropertiesChanged; } 420 420 #endif … … 2023 2023 #endif 2024 2024 2025 #if ndef NDEBUG2025 #if ASSERT_ENABLED 2026 2026 bool m_didDispatchViewportPropertiesChanged { false }; 2027 2027 #endif -
trunk/Source/WebKit/ChangeLog
r254383 r254384 1 2020-01-10 Simon Fraser <simon.fraser@apple.com> 2 3 Introduce ENABLE_META_VIEWPORT and use it in some WK2 code 4 https://bugs.webkit.org/show_bug.cgi?id=206091 5 6 Reviewed by Tim Horton. 7 8 Use ENABLE(META_VIEWPORT) rather than PLATFORM(IOS_FAMILY) to enable various 9 bits of viewport-related code. 10 11 * Shared/WebCoreArgumentCoders.cpp: 12 (IPC::ArgumentCoder<ViewportArguments>::decode): 13 (IPC::ArgumentCoder<ViewportAttributes>::encode): 14 (IPC::ArgumentCoder<ViewportAttributes>::decode): 15 * Shared/WebCoreArgumentCoders.h: 16 * Shared/WebPageCreationParameters.cpp: 17 (WebKit::WebPageCreationParameters::encode const): 18 (WebKit::WebPageCreationParameters::decode): 19 * Shared/WebPageCreationParameters.h: 20 * UIProcess/API/C/WKPage.cpp: 21 (WKPageSetIgnoresViewportScaleLimits): 22 * UIProcess/API/Cocoa/WKWebView.mm: 23 (-[WKWebView _initializeWithConfiguration:]): 24 * UIProcess/WebPageProxy.cpp: 25 * UIProcess/WebPageProxy.h: 26 * WebProcess/WebPage/WebPage.cpp: 27 (WebKit::WebPage::didCommitLoad): 28 * WebProcess/WebPage/WebPage.h: 29 (WebKit::WebPage::viewportConfiguration const): 30 1 31 2020-01-10 Jonathan Bedard <jbedard@apple.com> 2 32 -
trunk/Source/WebKit/Shared/WebCoreArgumentCoders.cpp
r254202 r254384 638 638 return floatQuad; 639 639 } 640 640 #endif // PLATFORM(IOS_FAMILY) 641 642 #if ENABLE(META_VIEWPORT) 641 643 void ArgumentCoder<ViewportArguments>::encode(Encoder& encoder, const ViewportArguments& viewportArguments) 642 644 { … … 656 658 return viewportArguments; 657 659 } 658 #endif // PLATFORM(IOS_FAMILY) 659 660 661 #endif // ENABLE(META_VIEWPORT) 662 663 void ArgumentCoder<ViewportAttributes>::encode(Encoder& encoder, const ViewportAttributes& viewportAttributes) 664 { 665 SimpleArgumentCoder<ViewportAttributes>::encode(encoder, viewportAttributes); 666 } 667 668 bool ArgumentCoder<ViewportAttributes>::decode(Decoder& decoder, ViewportAttributes& viewportAttributes) 669 { 670 return SimpleArgumentCoder<ViewportAttributes>::decode(decoder, viewportAttributes); 671 } 660 672 661 673 void ArgumentCoder<IntPoint>::encode(Encoder& encoder, const IntPoint& intPoint) … … 762 774 { 763 775 return SimpleArgumentCoder<Length>::decode(decoder, length); 764 }765 766 void ArgumentCoder<ViewportAttributes>::encode(Encoder& encoder, const ViewportAttributes& viewportAttributes)767 {768 SimpleArgumentCoder<ViewportAttributes>::encode(encoder, viewportAttributes);769 }770 771 bool ArgumentCoder<ViewportAttributes>::decode(Decoder& decoder, ViewportAttributes& viewportAttributes)772 {773 return SimpleArgumentCoder<ViewportAttributes>::decode(decoder, viewportAttributes);774 776 } 775 777 -
trunk/Source/WebKit/Shared/WebCoreArgumentCoders.h
r254202 r254384 149 149 struct PasteboardImage; 150 150 struct PasteboardWebContent; 151 #endif 152 153 #if ENABLE(META_VIEWPORT) 151 154 struct ViewportArguments; 152 155 #endif … … 296 299 static Optional<WebCore::FloatQuad> decode(Decoder&); 297 300 }; 298 301 #endif // PLATFORM(IOS_FAMILY) 302 303 #if ENABLE(META_VIEWPORT) 299 304 template<> struct ArgumentCoder<WebCore::ViewportArguments> { 300 305 static void encode(Encoder&, const WebCore::ViewportArguments&); … … 302 307 static Optional<WebCore::ViewportArguments> decode(Decoder&); 303 308 }; 304 #endif // PLATFORM(IOS_FAMILY) 309 310 #endif 311 312 template<> struct ArgumentCoder<WebCore::ViewportAttributes> { 313 static void encode(Encoder&, const WebCore::ViewportAttributes&); 314 static bool decode(Decoder&, WebCore::ViewportAttributes&); 315 }; 305 316 306 317 template<> struct ArgumentCoder<WebCore::IntPoint> { … … 335 346 static void encode(Encoder&, const WebCore::Length&); 336 347 static bool decode(Decoder&, WebCore::Length&); 337 };338 339 template<> struct ArgumentCoder<WebCore::ViewportAttributes> {340 static void encode(Encoder&, const WebCore::ViewportAttributes&);341 static bool decode(Decoder&, WebCore::ViewportAttributes&);342 348 }; 343 349 -
trunk/Source/WebKit/Shared/WebPageCreationParameters.cpp
r254183 r254384 85 85 encoder << useSystemAppearance; 86 86 #endif 87 88 #if ENABLE(META_VIEWPORT) 89 encoder << ignoresViewportScaleLimits; 90 encoder << viewportConfigurationViewLayoutSize; 91 encoder << viewportConfigurationLayoutSizeScaleFactor; 92 encoder << viewportConfigurationMinimumEffectiveDeviceWidth; 93 encoder << viewportConfigurationViewSize; 94 encoder << overrideViewportArguments; 95 #endif 96 87 97 #if PLATFORM(IOS_FAMILY) 88 98 encoder << screenSize; … … 90 100 encoder << overrideScreenSize; 91 101 encoder << textAutosizingWidth; 92 encoder << ignoresViewportScaleLimits;93 encoder << viewportConfigurationViewLayoutSize;94 encoder << viewportConfigurationLayoutSizeScaleFactor;95 encoder << viewportConfigurationMinimumEffectiveDeviceWidth;96 encoder << viewportConfigurationViewSize;97 102 encoder << maximumUnobscuredSize; 98 103 encoder << deviceOrientation; 99 104 encoder << keyboardIsAttached; 100 105 encoder << canShowWhileLocked; 101 encoder << overrideViewportArguments;102 106 #endif 103 107 #if PLATFORM(COCOA) … … 276 280 #endif 277 281 278 #if PLATFORM(IOS_FAMILY) 279 if (!decoder.decode(parameters.screenSize)) 280 return WTF::nullopt; 281 if (!decoder.decode(parameters.availableScreenSize)) 282 return WTF::nullopt; 283 if (!decoder.decode(parameters.overrideScreenSize)) 284 return WTF::nullopt; 285 if (!decoder.decode(parameters.textAutosizingWidth)) 286 return WTF::nullopt; 282 #if ENABLE(META_VIEWPORT) 287 283 if (!decoder.decode(parameters.ignoresViewportScaleLimits)) 288 284 return WTF::nullopt; … … 295 291 if (!decoder.decode(parameters.viewportConfigurationViewSize)) 296 292 return WTF::nullopt; 297 if (!decoder.decode(parameters.maximumUnobscuredSize))298 return WTF::nullopt;299 if (!decoder.decode(parameters.deviceOrientation))300 return WTF::nullopt;301 if (!decoder.decode(parameters.keyboardIsAttached))302 return WTF::nullopt;303 if (!decoder.decode(parameters.canShowWhileLocked))304 return WTF::nullopt;305 306 293 Optional<Optional<WebCore::ViewportArguments>> overrideViewportArguments; 307 294 decoder >> overrideViewportArguments; … … 309 296 return WTF::nullopt; 310 297 parameters.overrideViewportArguments = WTFMove(*overrideViewportArguments); 298 #endif 299 300 #if PLATFORM(IOS_FAMILY) 301 if (!decoder.decode(parameters.screenSize)) 302 return WTF::nullopt; 303 if (!decoder.decode(parameters.availableScreenSize)) 304 return WTF::nullopt; 305 if (!decoder.decode(parameters.overrideScreenSize)) 306 return WTF::nullopt; 307 if (!decoder.decode(parameters.textAutosizingWidth)) 308 return WTF::nullopt; 309 if (!decoder.decode(parameters.maximumUnobscuredSize)) 310 return WTF::nullopt; 311 if (!decoder.decode(parameters.deviceOrientation)) 312 return WTF::nullopt; 313 if (!decoder.decode(parameters.keyboardIsAttached)) 314 return WTF::nullopt; 315 if (!decoder.decode(parameters.canShowWhileLocked)) 316 return WTF::nullopt; 311 317 #endif 312 318 -
trunk/Source/WebKit/Shared/WebPageCreationParameters.h
r254183 r254384 146 146 bool useSystemAppearance; 147 147 #endif 148 #if ENABLE(META_VIEWPORT) 149 bool ignoresViewportScaleLimits; 150 WebCore::FloatSize viewportConfigurationViewLayoutSize; 151 double viewportConfigurationLayoutSizeScaleFactor; 152 double viewportConfigurationMinimumEffectiveDeviceWidth; 153 WebCore::FloatSize viewportConfigurationViewSize; 154 Optional<WebCore::ViewportArguments> overrideViewportArguments; 155 #endif 148 156 #if PLATFORM(IOS_FAMILY) 149 157 WebCore::FloatSize screenSize; … … 151 159 WebCore::FloatSize overrideScreenSize; 152 160 float textAutosizingWidth; 153 bool ignoresViewportScaleLimits;154 WebCore::FloatSize viewportConfigurationViewLayoutSize;155 double viewportConfigurationLayoutSizeScaleFactor;156 double viewportConfigurationMinimumEffectiveDeviceWidth;157 WebCore::FloatSize viewportConfigurationViewSize;158 161 WebCore::FloatSize maximumUnobscuredSize; 159 162 int32_t deviceOrientation { 0 }; 160 163 bool keyboardIsAttached { false }; 161 164 bool canShowWhileLocked { false }; 162 Optional<WebCore::ViewportArguments> overrideViewportArguments;163 165 #endif 164 166 #if PLATFORM(COCOA) -
trunk/Source/WebKit/UIProcess/API/C/WKPage.cpp
r253950 r254384 2874 2874 void WKPageSetIgnoresViewportScaleLimits(WKPageRef page, bool ignoresViewportScaleLimits) 2875 2875 { 2876 #if PLATFORM(IOS_FAMILY)2876 #if ENABLE(META_VIEWPORT) 2877 2877 toImpl(page)->setForceAlwaysUserScalable(ignoresViewportScaleLimits); 2878 2878 #endif -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm
r254360 r254384 350 350 351 351 _page->contentSizeCategoryDidChange([self _contentSizeCategory]); 352 _page->setForceAlwaysUserScalable([_configuration ignoresViewportScaleLimits]);353 352 354 353 CFNotificationCenterAddObserver(CFNotificationCenterGetDarwinNotifyCenter(), (__bridge const void *)(self), hardwareKeyboardAvailabilityChangedCallback, (CFStringRef)[NSString stringWithUTF8String:kGSEventHardwareKeyboardAvailabilityChangedNotification], nullptr, CFNotificationSuspensionBehaviorCoalesce); 355 354 #endif // PLATFORM(IOS_FAMILY) 355 356 #if ENABLE(META_VIEWPORT) 357 _page->setForceAlwaysUserScalable([_configuration ignoresViewportScaleLimits]); 358 #endif 356 359 357 360 #if PLATFORM(MAC) -
trunk/Source/WebKit/UIProcess/WebPageProxy.cpp
r254345 r254384 7534 7534 parameters.useSystemAppearance = m_useSystemAppearance; 7535 7535 #endif 7536 7537 #if ENABLE(META_VIEWPORT) 7538 parameters.ignoresViewportScaleLimits = m_forceAlwaysUserScalable; 7539 parameters.viewportConfigurationViewLayoutSize = m_viewportConfigurationViewLayoutSize; 7540 parameters.viewportConfigurationLayoutSizeScaleFactor = m_viewportConfigurationLayoutSizeScaleFactor; 7541 parameters.viewportConfigurationMinimumEffectiveDeviceWidth = m_viewportConfigurationMinimumEffectiveDeviceWidth; 7542 parameters.overrideViewportArguments = m_overrideViewportArguments; 7543 #endif 7544 7536 7545 #if PLATFORM(IOS_FAMILY) 7537 7546 parameters.screenSize = screenSize(); … … 7540 7549 parameters.textAutosizingWidth = textAutosizingWidth(); 7541 7550 parameters.mimeTypesWithCustomContentProviders = pageClient().mimeTypesWithCustomContentProviders(); 7542 parameters.ignoresViewportScaleLimits = m_forceAlwaysUserScalable;7543 parameters.viewportConfigurationViewLayoutSize = m_viewportConfigurationViewLayoutSize;7544 parameters.viewportConfigurationLayoutSizeScaleFactor = m_viewportConfigurationLayoutSizeScaleFactor;7545 parameters.viewportConfigurationMinimumEffectiveDeviceWidth = m_viewportConfigurationMinimumEffectiveDeviceWidth;7546 7551 parameters.maximumUnobscuredSize = m_maximumUnobscuredSize; 7547 7552 parameters.deviceOrientation = m_deviceOrientation; 7548 7553 parameters.keyboardIsAttached = isInHardwareKeyboardMode(); 7549 parameters.overrideViewportArguments = m_overrideViewportArguments;7550 7554 parameters.canShowWhileLocked = m_configuration->canShowWhileLocked(); 7551 7555 #endif -
trunk/Source/WebKit/UIProcess/WebPageProxy.h
r254345 r254384 2286 2286 #if PLATFORM(IOS_FAMILY) 2287 2287 Optional<WebCore::InputMode> m_pendingInputModeChange; 2288 Optional<WebCore::ViewportArguments> m_overrideViewportArguments;2289 2288 TransactionID m_firstLayerTreeTransactionIdAfterDidCommitLoad; 2290 2289 int32_t m_deviceOrientation { 0 }; … … 2595 2594 #endif 2596 2595 2596 #if ENABLE(META_VIEWPORT) 2597 bool m_forceAlwaysUserScalable { false }; 2598 WebCore::FloatSize m_viewportConfigurationViewLayoutSize; 2599 double m_viewportConfigurationLayoutSizeScaleFactor { 1 }; 2600 double m_viewportConfigurationMinimumEffectiveDeviceWidth { 0 }; 2601 Optional<WebCore::ViewportArguments> m_overrideViewportArguments; 2602 #endif 2603 2597 2604 #if PLATFORM(IOS_FAMILY) 2598 2605 Function<bool()> m_deviceOrientationUserPermissionHandlerForTesting; 2599 2606 std::unique_ptr<ElementDidFocusArguments> m_deferredElementDidFocusArguments; 2600 2607 bool m_waitingForPostLayoutEditorStateUpdateAfterFocusingElement { false }; 2601 bool m_forceAlwaysUserScalable { false };2602 WebCore::FloatSize m_viewportConfigurationViewLayoutSize;2603 double m_viewportConfigurationLayoutSizeScaleFactor { 1 };2604 double m_viewportConfigurationMinimumEffectiveDeviceWidth { 0 };2605 2608 WebCore::FloatSize m_maximumUnobscuredSize; 2606 2609 bool m_lastObservedStateWasBackground { false }; -
trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp
r254312 r254384 423 423 , m_canRunBeforeUnloadConfirmPanel(parameters.canRunBeforeUnloadConfirmPanel) 424 424 , m_canRunModal(parameters.canRunModal) 425 #if ENABLE(META_VIEWPORT) 426 , m_forceAlwaysUserScalable(parameters.ignoresViewportScaleLimits) 427 #endif 425 428 #if PLATFORM(IOS_FAMILY) 426 , m_forceAlwaysUserScalable(parameters.ignoresViewportScaleLimits)427 429 , m_screenSize(parameters.screenSize) 428 430 , m_availableScreenSize(parameters.availableScreenSize) … … 5816 5818 scalePage(1, IntPoint()); 5817 5819 } 5820 5818 5821 #if PLATFORM(IOS_FAMILY) 5819 5822 m_hasReceivedVisibleContentRectsAfterDidCommitLoad = false; … … 5827 5830 WebProcess::singleton().eventDispatcher().clearQueuedTouchEventsForPage(*this); 5828 5831 #endif 5829 5832 #endif // PLATFORM(IOS_FAMILY) 5833 5834 #if ENABLE(META_VIEWPORT) 5830 5835 resetViewportDefaultConfiguration(frame); 5831 5836 const Frame* coreFrame = frame->coreFrame(); … … 5845 5850 if (viewportChanged) 5846 5851 viewportConfigurationChanged(); 5847 #endif 5852 #endif // ENABLE(META_VIEWPORT) 5848 5853 5849 5854 #if ENABLE(VIEWPORT_RESIZING) -
trunk/Source/WebKit/WebProcess/WebPage/WebPage.h
r254312 r254384 108 108 #include "GestureTypes.h" 109 109 #include <WebCore/IntPointHash.h> 110 #include <WebCore/WKContentObservation.h> 111 #endif 112 113 #if ENABLE(META_VIEWPORT) 110 114 #include <WebCore/ViewportConfiguration.h> 111 #include <WebCore/WKContentObservation.h>112 115 #endif 113 116 … … 637 640 void didReceiveMobileDocType(bool); 638 641 639 void setUseTestingViewportConfiguration(bool useTestingViewport) { m_useTestingViewportConfiguration = useTestingViewport; }640 bool isUsingTestingViewportConfiguration() const { return m_useTestingViewportConfiguration; }641 642 642 double minimumPageScaleFactor() const; 643 643 double maximumPageScaleFactor() const; … … 968 968 969 969 #if PLATFORM(IOS_FAMILY) 970 void setViewportConfigurationViewLayoutSize(const WebCore::FloatSize&, double scaleFactor, double minimumEffectiveDeviceWidth);971 970 void setMaximumUnobscuredSize(const WebCore::FloatSize&); 972 971 void setDeviceOrientation(int32_t); 973 void setOverrideViewportArguments(const Optional<WebCore::ViewportArguments>&);974 972 void dynamicViewportSizeUpdate(const WebCore::FloatSize& viewLayoutSize, const WebCore::FloatSize& maximumUnobscuredSize, const WebCore::FloatRect& targetExposedContentRect, const WebCore::FloatRect& targetUnobscuredRect, const WebCore::FloatRect& targetUnobscuredRectInScrollViewCoordinates, const WebCore::FloatBoxExtent& targetUnobscuredSafeAreaInsets, double scale, int32_t deviceOrientation, DynamicViewportSizeUpdateID); 975 973 bool scaleWasSetByUIProcess() const { return m_scaleWasSetByUIProcess; } … … 983 981 984 982 bool platformPrefersTextLegibilityBasedZoomScaling() const; 985 const WebCore::ViewportConfiguration& viewportConfiguration() const { return m_viewportConfiguration; }986 983 987 984 void hardwareKeyboardAvailabilityChanged(bool keyboardIsAttached); … … 990 987 991 988 bool canShowWhileLocked() const { return m_canShowWhileLocked; } 989 #endif 990 991 #if ENABLE(META_VIEWPORT) 992 void setViewportConfigurationViewLayoutSize(const WebCore::FloatSize&, double scaleFactor, double minimumEffectiveDeviceWidth); 993 void setOverrideViewportArguments(const Optional<WebCore::ViewportArguments>&); 994 const WebCore::ViewportConfiguration& viewportConfiguration() const { return m_viewportConfiguration; } 995 996 void setUseTestingViewportConfiguration(bool useTestingViewport) { m_useTestingViewportConfiguration = useTestingViewport; } 997 bool isUsingTestingViewportConfiguration() const { return m_useTestingViewportConfiguration; } 992 998 #endif 993 999 … … 1288 1294 1289 1295 #if PLATFORM(IOS_FAMILY) 1290 void resetViewportDefaultConfiguration(WebFrame* mainFrame, bool hasMobileDocType = false);1291 enum class ZoomToInitialScale { No, Yes };1292 void viewportConfigurationChanged(ZoomToInitialScale = ZoomToInitialScale::No);1293 1296 void updateViewportSizeForCSSViewportUnits(); 1294 1297 … … 1311 1314 WebAutocorrectionContext autocorrectionContext(); 1312 1315 bool applyAutocorrectionInternal(const String& correction, const String& originalText); 1316 #endif 1317 1318 #if ENABLE(META_VIEWPORT) 1319 void resetViewportDefaultConfiguration(WebFrame* mainFrame, bool hasMobileDocType = false); 1320 enum class ZoomToInitialScale { No, Yes }; 1321 void viewportConfigurationChanged(ZoomToInitialScale = ZoomToInitialScale::No); 1313 1322 bool shouldIgnoreMetaViewport() const; 1314 1323 #endif 1324 1315 1325 #if ENABLE(TEXT_AUTOSIZING) 1316 1326 void textAutoSizingAdjustmentTimerFired(); … … 1707 1717 bool m_alwaysShowsVerticalScroller { false }; 1708 1718 1709 #if PLATFORM(IOS_FAMILY)1710 bool m_ignoreViewportScalingConstraints { false };1711 #endif1712 1713 1719 #if ENABLE(PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC) 1714 1720 bool m_readyToFindPrimarySnapshottedPlugin { false }; … … 1893 1899 CompletionHandler<void(bool)> m_pendingSynchronousTouchEventReply; 1894 1900 #endif 1895 1901 1902 #if ENABLE(META_VIEWPORT) 1903 WebCore::ViewportConfiguration m_viewportConfiguration; 1904 bool m_useTestingViewportConfiguration { false }; 1905 bool m_forceAlwaysUserScalable { false }; 1906 bool m_ignoreViewportScalingConstraints { false }; 1907 #endif 1908 1896 1909 #if PLATFORM(IOS_FAMILY) 1897 1910 RefPtr<WebCore::Range> m_currentWordRange; … … 1907 1920 WebCore::FloatPoint m_potentialTapLocation; 1908 1921 RefPtr<WebCore::SecurityOrigin> m_potentialTapSecurityOrigin; 1909 1910 WebCore::ViewportConfiguration m_viewportConfiguration;1911 1922 1912 1923 bool m_hasReceivedVisibleContentRectsAfterDidCommitLoad { false }; … … 1915 1926 bool m_userHasChangedPageScaleFactor { false }; 1916 1927 bool m_hasStablePageScaleFactor { true }; 1917 bool m_useTestingViewportConfiguration { false };1918 1928 bool m_isInStableState { true }; 1919 bool m_forceAlwaysUserScalable { false };1920 1929 MonotonicTime m_oldestNonStableUpdateVisibleContentRectsTimestamp; 1921 1930 Seconds m_estimatedLatency { 0 };
Note:
See TracChangeset
for help on using the changeset viewer.