void beginSimulatedMemoryPressure();
void endSimulatedMemoryPressure();
-#if defined(ENABLE_PROXIMITY_EVENTS) && ENABLE_PROXIMITY_EVENTS
- [MayThrowException] void setDeviceProximity(DOMString eventType, unrestricted double value, unrestricted double min, unrestricted double max);
-#endif
+ [Conditional=PROXIMITY_EVENTS, MayThrowException] void setDeviceProximity(DOMString eventType, unrestricted double value, unrestricted double min, unrestricted double max);
unsigned long numberOfLiveNodes();
unsigned long numberOfLiveDocuments();
void setTopContentInset(unrestricted float contentInset);
-#if defined(ENABLE_FULLSCREEN_API) && ENABLE_FULLSCREEN_API
- void webkitWillEnterFullScreenForElement(Element element);
- void webkitDidEnterFullScreenForElement(Element element);
- void webkitWillExitFullScreenForElement(Element element);
- void webkitDidExitFullScreenForElement(Element element);
-#endif
+ [Conditional=FULLSCREEN_API] void webkitWillEnterFullScreenForElement(Element element);
+ [Conditional=FULLSCREEN_API] void webkitDidEnterFullScreenForElement(Element element);
+ [Conditional=FULLSCREEN_API] void webkitWillExitFullScreenForElement(Element element);
+ [Conditional=FULLSCREEN_API] void webkitDidExitFullScreenForElement(Element element);
void setApplicationCacheOriginQuota(unsigned long long quota);
[Conditional=CONTENT_FILTERING] readonly attribute MockContentFilterSettings mockContentFilterSettings;
-#if defined(ENABLE_CSS_SCROLL_SNAP) && ENABLE_CSS_SCROLL_SNAP
- [MayThrowException] DOMString scrollSnapOffsets(Element element);
- void setPlatformMomentumScrollingPredictionEnabled(boolean enabled);
-#endif
+ [Conditional=CSS_SCROLL_SNAP, MayThrowException] DOMString scrollSnapOffsets(Element element);
+ [Conditional=CSS_SCROLL_SNAP] void setPlatformMomentumScrollingPredictionEnabled(boolean enabled);
[MayThrowException] DOMString pathStringWithShrinkWrappedRects(sequence<double> rectComponents, double radius);
sequence<DOMString> accessKeyModifiers();
-#if defined(WTF_PLATFORM_IOS) && WTF_PLATFORM_IOS
void setQuickLookPassword(DOMString password);
-#endif
[CallWith=Document] void setAsRunningUserScripts();