Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1835)

Unified Diff: third_party/WebKit/Source/core/frame/VisualViewport.idl

Issue 2156143002: Add page coordinates to the ViewportAPI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase + fix layout tests Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/VisualViewport.idl
diff --git a/third_party/WebKit/Source/core/frame/VisualViewport.idl b/third_party/WebKit/Source/core/frame/VisualViewport.idl
index 98fac81bbf5f9412078df6bbd0ed95f73668f623..0f2f65fa5df18a3cf5c62c4e815286d61a0ef3b6 100644
--- a/third_party/WebKit/Source/core/frame/VisualViewport.idl
+++ b/third_party/WebKit/Source/core/frame/VisualViewport.idl
@@ -30,8 +30,11 @@
RuntimeEnabled=VisualViewportAPI,
ImplementedAs=DOMVisualViewport,
] interface VisualViewport : EventTarget {
- readonly attribute double scrollTop;
readonly attribute double scrollLeft;
+ readonly attribute double scrollTop;
+
+ readonly attribute double pageX;
+ readonly attribute double pageY;
readonly attribute double clientWidth;
readonly attribute double clientHeight;
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698