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

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

Issue 2901203002: Rename VisualViewport properties to match updated spec (Closed)
Patch Set: Make methods const Created 3 years, 7 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
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 b3142ba2ba98f0955767238455f1bf1fe194ed7b..d956a89c222ac388a380fbb52e44fe7a23edcff4 100644
--- a/third_party/WebKit/Source/core/frame/VisualViewport.idl
+++ b/third_party/WebKit/Source/core/frame/VisualViewport.idl
@@ -30,14 +30,14 @@
RuntimeEnabled=VisualViewportAPI,
ImplementedAs=DOMVisualViewport,
] interface VisualViewport : EventTarget {
- [Measure] readonly attribute double scrollLeft;
- [Measure] readonly attribute double scrollTop;
+ [Measure] readonly attribute double offsetLeft;
+ [Measure] readonly attribute double offsetTop;
- [Measure] readonly attribute double pageX;
- [Measure] readonly attribute double pageY;
+ [Measure] readonly attribute double pageLeft;
+ [Measure] readonly attribute double pageTop;
- [Measure] readonly attribute double clientWidth;
- [Measure] readonly attribute double clientHeight;
+ [Measure] readonly attribute double width;
+ [Measure] readonly attribute double height;
[Measure] readonly attribute double scale;
};
« no previous file with comments | « third_party/WebKit/Source/core/frame/VisualViewport.cpp ('k') | third_party/WebKit/Source/core/frame/Window.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698