Index: third_party/WebKit/Source/core/frame/Window.idl |
diff --git a/third_party/WebKit/Source/core/frame/Window.idl b/third_party/WebKit/Source/core/frame/Window.idl |
index 760065fef0ad037d21faaeb44cf046b5046e582c..c3787548bfa56a556eb2a9f96999e10b564f2be6 100644 |
--- a/third_party/WebKit/Source/core/frame/Window.idl |
+++ b/third_party/WebKit/Source/core/frame/Window.idl |
@@ -127,6 +127,10 @@ |
[RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(optional ScrollToOptions options); |
void scrollBy(unrestricted double x, unrestricted double y); |
+ // Visual Viewport API |
+ // https://github.com/WICG/ViewportAPI |
+ [RuntimeEnabled=VisualViewportAPI] readonly attribute VisualViewport? visualViewport; |
+ |
// client |
[Replaceable] readonly attribute long screenX; |
[Replaceable] readonly attribute long screenY; |